public class ModulesTools
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
ModulesTools.ModuleEntry<T> |
Modifier and Type | Method and Description |
---|---|
static ModuleDefinition |
getDeclaringModule(java.lang.reflect.Field field)
Get the module owning the field provided.
|
static ModuleDefinition |
getDeclaringModule(java.lang.reflect.Method method)
Deprecated.
Do not use as this method might yield wrong results!!!
|
static int |
getOptionalParameterCount(java.lang.reflect.Method method) |
static StyledString |
getSignature(java.lang.reflect.Method method,
boolean useStyledReturnValue)
Generates the signature of the method.
|
public static StyledString getSignature(java.lang.reflect.Method method, boolean useStyledReturnValue)
method
- inspected method@Deprecated public static ModuleDefinition getDeclaringModule(java.lang.reflect.Method method)
method
- inspected methodpublic static ModuleDefinition getDeclaringModule(java.lang.reflect.Field field)
field
- inspected fieldpublic static int getOptionalParameterCount(java.lang.reflect.Method method)