@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 |
| Type Params | Return Type | Name and description |
|---|---|---|
|
public String |
getAnnotationName() |
|
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) |
| Methods inherited from class | Name |
|---|---|
class AbstractASTTransformation |
addError, checkPropertyList, checkPropertyList, checkPropertyList, deemedInternalName, getAnnotationName, getMemberClassList, getMemberClassValue, getMemberClassValue, getMemberIntValue, getMemberStringList, getMemberStringValue, getMemberStringValue, getMemberValue, hasAnnotation, memberHasValue, shouldSkip, shouldSkip, shouldSkipOnDescriptorUndefinedAware, shouldSkipUndefinedAware, shouldSkipUndefinedAware, tokenize |
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.