Package: org.apache.groovy.ast.tools

## [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)