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