Package org.eclipse.ease.ui.modules.ui
Class ModulesTools
java.lang.Object
org.eclipse.ease.ui.modules.ui.ModulesTools
-
Method Summary
Modifier and TypeMethodDescriptionstatic ModuleDefinitiongetDeclaringModule(Field field) Get the module owning the field provided.static ModuleDefinitiongetDeclaringModule(Method method) Deprecated.Do not use as this method might yield wrong results!!!static intgetOptionalParameterCount(Method method) static StyledStringgetSignature(Method method, boolean useStyledReturnValue) Generates the signature of the method.
-
Method Details
-
getSignature
Generates the signature of the method. Optional parameters are written in italic.- Parameters:
method- inspected method- Returns:
- signature of method.
-
getDeclaringModule
Deprecated.Do not use as this method might yield wrong results!!!Get the module owning the method provided.- Parameters:
method- inspected method- Returns:
- module containing the method or null.
-
getDeclaringModule
Get the module owning the field provided.- Parameters:
field- inspected field- Returns:
- module containing the field or null.
-
getOptionalParameterCount
-