public final class ModuleHelper extends Object
Modifier and Type | Method and Description |
---|---|
static List<Field> |
getFields(Class<?> clazz)
Returns a List of exported fields.
|
static List<Method> |
getMethods(Class<?> clazz)
Returns a list of exported methods.
|
static String |
resolveName(String identifier)
Resolve a relative module name to its absolute name.
|
public static List<Method> getMethods(Class<?> clazz)
clazz
- class to be evaluatedpublic static List<Field> getFields(Class<?> clazz)
clazz
- Class to be evaluatedpublic static String resolveName(String identifier)
RuntimeException
is thrown.identifier
- module identifier