public abstract class AbstractASTTransformation extends Object
| Modifiers | Name | Description |
|---|---|---|
static ClassNode |
RETENTION_CLASSNODE |
|
protected SourceUnit |
sourceUnit |
| Type | Name and description |
|---|---|
protected void |
addError(String msg, ASTNode expr) |
protected void |
checkIncludeExclude(AnnotationNode node, List excludes, List includes, String typeName) |
protected void |
checkIncludeExclude(AnnotationNode node, List excludes, List includes, List excludeTypes, List includeTypes, String typeName) |
protected void |
checkNotInterface(ClassNode cNode, String annotationName) |
static void |
copyAnnotatedNodeAnnotations(AnnotatedNode annotatedNode, List copied, List notCopied)Copies all candidateAnnotations with retention policy RetentionPolicy.RUNTIME and RetentionPolicy.CLASS. |
static MethodNode |
correctToGenericsSpec(Map genericsSpec, MethodNode mn) |
static ClassNode |
correctToGenericsSpecRecurse(Map genericsSpec, ClassNode type) |
static boolean |
deemedInternalName(String name) |
protected List |
getClassList(AnnotationNode anno, String name) |
protected int |
getMemberIntValue(AnnotationNode node, String name) |
protected List |
getMemberList(AnnotationNode anno, String name) |
protected String |
getMemberStringValue(AnnotationNode node, String name, String defaultValue) |
protected String |
getMemberStringValue(AnnotationNode node, String name) |
protected Object |
getMemberValue(AnnotationNode node, String name) |
protected boolean |
hasAnnotation(ClassNode cNode, ClassNode annotation) |
protected void |
init(ASTNode[] nodes, SourceUnit sourceUnit) |
static ClassNode |
makeClassSafe0(ClassNode type, GenericsType... genericTypes) |
static ClassNode |
makeClassSafeWithGenerics(ClassNode type, GenericsType... genericTypes) |
protected boolean |
memberHasValue(AnnotationNode node, String name, Object value) |
static ClassNode |
newClass(ClassNode type) |
static ClassNode |
nonGeneric(ClassNode type)@deprecated use GenericsUtils#nonGeneric |
static boolean |
shouldSkip(String name, List excludes, List includes) |
static boolean |
shouldSkipOnDescriptor(boolean checkReturn, Map genericsSpec, MethodNode mNode, List excludeTypes, List includeTypes) |
protected List |
tokenize(String rawExcludes) |
Copies all candidateAnnotations with retention policy RetentionPolicy.RUNTIME and RetentionPolicy.CLASS.
Annotations with GeneratedClosure members are not supported by now.