public class AnnotatedNodeUtils
extends Object
Utility class for working with AnnotatedNodes
| Type Params | Return Type | Name and description |
|---|---|---|
|
public static boolean |
deemedInternal(AnnotatedNode node)Checks whether an AST node is deemed internal, either by name convention (contains $) or by being annotated with @Internal. |
|
public static boolean |
hasAnnotation(AnnotatedNode node, ClassNode annotation) |
|
public static boolean |
isGenerated(AnnotatedNode node) |
|
public static boolean |
isInternal(AnnotatedNode node)Checks whether a node is annotated with @Internal. |
<T extends AnnotatedNode> |
public static T |
markAsGenerated(ClassNode containingClass, T nodeToMark) |
<T extends AnnotatedNode> |
public static T |
markAsGenerated(ClassNode containingClass, T nodeToMark, boolean skipChecks) |
<T extends AnnotatedNode> |
public static T |
markAsInternal(T nodeToMark)Marks a node with the @Internal annotation. |
Checks whether an AST node is deemed internal, either by name convention
(contains $) or by being annotated with @Internal.
Checks whether a node is annotated with @Internal.
Marks a node with the @Internal annotation.