Class |
Description |
ASTNode
|
Base class for any AST node. |
AnnotatedNode
|
Base class for any AST node which is capable of being annotated |
AnnotationNode
|
Represents an annotation which can be attached to interfaces, classes, methods, fields, parameters, and other places. |
AstToTextHelper
|
Helper class for converting AST into text. |
ClassCodeExpressionTransformer
|
Transforms expressions in a whole class. |
ClassCodeVisitorSupport
|
|
ClassHelper
|
Helper for ClassNode and classes handling them. |
ClassNode
|
Represents a class in the AST. |
CodeVisitorSupport
|
Abstract base class for any GroovyCodeVisitor which by default
just walks the code and expression tree |
CompileUnit
|
Represents the entire contents of a compilation step which consists of one or
more ModuleNode instances. |
ConstructorNode
|
Represents a constructor declaration |
DynamicVariable
|
|
EnumConstantClassNode
|
Represents the anonymous inner class for an enum constant. |
FieldNode
|
Represents a field (member variable) |
GenericsType
|
This class is used to describe generic type signatures for ClassNodes. |
GenericsType.GenericsTypeName
|
Represents GenericsType name. |
GroovyCodeVisitorAdapter
|
- Since:
- 4.0.0
|
ImportNode
|
Represents an import statement. |
InnerClassNode
|
Represents an inner class definition. |
InterfaceHelperClassNode
|
Represents an inner class defined as helper for an interface. |
MethodCallTransformation
|
|
MethodInvocationTrap
|
|
MethodNode
|
Represents a method declaration. |
MixinASTTransformation
|
- deprecated:
- static mixins have been deprecated in favour of traits (trait keyword).
|
MixinNode
|
Represents a mixin which can be applied to any ClassNode to implement mixins |
ModifierNode
|
Represents a modifier |
ModuleNode
|
Represents a module, which consists typically of a class declaration
but could include some imports, some statements and multiple classes
intermixed with statements like scripts in Python or Ruby |
PackageNode
|
Represents a package in the AST. |
Parameter
|
Represents a parameter on a constructor or method call. |
PropertyNode
|
Represents a property (member variable, a getter and setter) |
RecordComponentNode
|
Represents record component |
TransformingCodeVisitor
|
|
VariableScope
|
Records declared and referenced variables for a given scope. |