# Package org.apache.groovy.ast.tools

## Package org.apache.groovy.ast.tools Description

Utilities for Abstract Syntax Tree manipulation and analysis. Provides helper methods for AST traversal, transformation, and code generation.

- Class Summary
  Class | Description
  --- | ---
  AnnotatedNodeUtils | Utility class for working with AnnotatedNodes
  ClassNodeUtils | Utility class for working with ClassNodes
  ConstructorNodeUtils | Utility class for working with ConstructorNodes
  CopyWithUtils | Shared AST-generation glue for nested-path `copyWith`, used by both the `@Immutable` and `@RecordType` transforms so the generated code (and its evolution) stays identical across the two.
  ExpressionUtils | Utility methods for reasoning about Groovy AST expressions.
  ImmutablePropertyUtils | Utility methods for immutable-property analysis and code generation.
  MethodCallUtils | Utility class for commonly called methods
  MethodNodeUtils | Utility class for working with MethodNodes
  SwitchExpressionUtils | Shared classification of switch-expression labels for static compilation.
  TypeUseUtils | Classification of a ClassNode as a type use (JLS 4.5, 4.7, 4.8).
  VisibilityUtils | Utility methods for resolving visibility customizations from VisibilityOptions.