@GroovyASTTransformation(phase = CompilePhase.SEMANTIC_ANALYSIS) public class RecordTypeASTTransformation extends AbstractASTTransformation implements CompilationUnitAware
Handles generation of code for the
Fields inherited from class | Fields |
---|---|
class AbstractASTTransformation |
RETENTION_CLASSNODE, sourceUnit |
Type Params | Return Type | Name and description |
---|---|---|
|
public String |
getAnnotationName() |
|
protected GroovyClassLoader |
getTransformLoader() |
|
public static boolean |
recordNative(ClassNode node) Indicates that the given classnode is a native JVM record class. |
|
public void |
setCompilationUnit(CompilationUnit unit) |
|
public void |
visit(ASTNode[] nodes, SourceUnit source) |
Indicates that the given classnode is a native JVM record class.
For classes being compiled, this will only be valid after the
RecordTypeASTTransformation
transform has been invoked.