public abstract class AbstractASTTransformation extends Object implements ASTTransformation, ErrorCollecting
Modifiers | Name | Description |
---|---|---|
static ClassNode |
RETENTION_CLASSNODE |
Type Params | Return Type | Name and description |
---|---|---|
|
public void |
addError(String msg, ASTNode node) |
|
public boolean |
checkPropertyList(ClassNode cNode, List<String> propertyNameList, String listName, AnnotationNode anno, String typeName, boolean includeFields) |
|
public boolean |
checkPropertyList(ClassNode cNode, List<String> propertyNameList, String listName, AnnotationNode anno, String typeName, boolean includeFields, boolean includeSuperProperties, boolean allProperties) |
|
public boolean |
checkPropertyList(ClassNode cNode, List<String> propertyNameList, String listName, AnnotationNode anno, String typeName, boolean includeFields, boolean includeSuperProperties, boolean allProperties, boolean includeSuperFields, boolean includeStatic) |
|
public static boolean |
deemedInternalName(String name) |
|
public String |
getAnnotationName() If the transform is associated with a single annotation, returns a name suitable for displaying in error messages. |
|
public List<ClassNode> |
getMemberClassList(AnnotationNode anno, String name) |
|
public ClassNode |
getMemberClassValue(AnnotationNode node, String name) |
|
public ClassNode |
getMemberClassValue(AnnotationNode node, String name, ClassNode defaultValue) |
|
public int |
getMemberIntValue(AnnotationNode node, String name) |
|
public static List<String> |
getMemberStringList(AnnotationNode anno, String name) |
|
public static String |
getMemberStringValue(AnnotationNode node, String name, String defaultValue) |
|
public static String |
getMemberStringValue(AnnotationNode node, String name) |
|
public Object |
getMemberValue(AnnotationNode node, String name) |
|
public boolean |
hasAnnotation(ClassNode node, ClassNode annotation) |
|
public boolean |
memberHasValue(AnnotationNode node, String name, Object value) |
|
public static boolean |
shouldSkip(String name, List<String> excludes, List<String> includes) |
|
public static boolean |
shouldSkip(String name, List<String> excludes, List<String> includes, boolean allNames) |
|
public static boolean |
shouldSkipOnDescriptorUndefinedAware(boolean checkReturn, Map genericsSpec, MethodNode mNode, List<ClassNode> excludeTypes, List<ClassNode> includeTypes) |
|
public static boolean |
shouldSkipUndefinedAware(String name, List<String> excludes, List<String> includes) |
|
public static boolean |
shouldSkipUndefinedAware(String name, List<String> excludes, List<String> includes, boolean allNames) |
|
public static List<String> |
tokenize(String rawExcludes) |
If the transform is associated with a single annotation, returns a name suitable for displaying in error messages.