[Java] Class AnnotatedNodeUtils

  • org.apache.groovy.ast.tools.AnnotatedNodeUtils

Utility class for working with AnnotatedNodes

Methods Summary

Methods
Type Params Return Type Name and description
static boolean hasAnnotation(AnnotatedNode node, ClassNode annotation)
<T extends AnnotatedNode> static T markAsGenerated(ClassNode containingClass, T nodeToMark)
<T extends AnnotatedNode> static T markAsGenerated(ClassNode containingClass, T nodeToMark, boolean skipChecks)

Inherited Methods Summary

Inherited Methods
Methods inherited from class Name
class Object wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll

Method Detail

public static boolean hasAnnotation(AnnotatedNode node, ClassNode annotation)

<T extends AnnotatedNode> public static T markAsGenerated(ClassNode containingClass, T nodeToMark)

<T extends AnnotatedNode> public static T markAsGenerated(ClassNode containingClass, T nodeToMark, boolean skipChecks)

© 2003-2020 The Apache Software Foundation
Licensed under the Apache license.
https://docs.groovy-lang.org/2.5.14/html/gapi/org/apache/groovy/ast/tools/AnnotatedNodeUtils.html