| java.lang.Object javaparser.CCTreeUtils
CCTreeUtils | final public class CCTreeUtils (Code) | | Some utils.
|
getAllModifiers | public static int[] getAllModifiers(RAWParserTreeNode mods)(Code) | | a list of all modifiers according to the JavaParserConstants.-1 for unknown !use ArrayUtils.contains() |
getFirstToken_ONLYInDirectChilds | public static Token getFirstToken_ONLYInDirectChilds(RAWParserTreeNode tn, int kind)(Code) | | null if none, null if tn is null
|
hasOverrideMustInvokeAnnotation | public static boolean hasOverrideMustInvokeAnnotation(RAWParserTreeNode mods)(Code) | | Lazy method, just looking for any annotation with the simple name "OverrideMustInvoke"
|
hasRecurseAnnotation | public static boolean hasRecurseAnnotation(RAWParserTreeNode mods)(Code) | | Lazy method, just looking for any annotation with the simple name "Recurse"
|
methodImplementsAnn | public static boolean methodImplementsAnn(RAWParserTreeNode mods)(Code) | | Hint: if present (true), use methodImplementsAnnParam to fetch the optional value...
|
methodImplementsAnnParam | public static String methodImplementsAnnParam(RAWParserTreeNode mods)(Code) | | null if not found.
Lazy method, just looking for any annotation with the simple name "Implements"
|
|
|