Package org.apache.groovy.ast.tools
Class AnnotatedNodeUtils
java.lang.Object
org.apache.groovy.ast.tools.AnnotatedNodeUtils
Utility class for working with AnnotatedNodes
-
Method Summary
Modifier and TypeMethodDescriptionstatic boolean
hasAnnotation
(AnnotatedNode node, ClassNode annotation) static boolean
isGenerated
(AnnotatedNode node) static <T extends AnnotatedNode>
TmarkAsGenerated
(ClassNode containingClass, T nodeToMark) static <T extends AnnotatedNode>
TmarkAsGenerated
(ClassNode containingClass, T nodeToMark, boolean skipChecks)
-
Method Details
-
markAsGenerated
-
markAsGenerated
public static <T extends AnnotatedNode> T markAsGenerated(ClassNode containingClass, T nodeToMark, boolean skipChecks) -
hasAnnotation
-
isGenerated
-