Package org.eclipse.ease.ui.modules.ui
Class ModulesTools
java.lang.Object
org.eclipse.ease.ui.modules.ui.ModulesTools
public final class ModulesTools extends Object
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classModulesTools.ModuleEntry<T> -
Method Summary
Modifier and Type Method Description static 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 org.eclipse.jface.viewers.StyledStringgetSignature(Method method, boolean useStyledReturnValue)Generates the signature of the method.
-
Method Details
-
getSignature
public static org.eclipse.jface.viewers.StyledString getSignature(Method method, boolean useStyledReturnValue)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
-