public abstract class GipsyASTTransformation extends AbstractASTTransformation
Modifier and Type | Field and Description |
---|---|
protected Logger |
logger |
protected Options |
options |
Constructor and Description |
---|
GipsyASTTransformation() |
Modifier and Type | Method and Description |
---|---|
protected List<Expression> |
findCollectionValueMember(AnnotationNode annotation,
String memberName) |
protected Expression |
findSingleValueMember(AnnotationNode annotation,
String memberName) |
protected abstract ClassNode |
getAnnotationClassNode() |
protected abstract void |
handleAnnotations(ClassNode classNode,
List<AnnotationNode> annotations,
ModuleNode moduleNode) |
static boolean |
hasNoArgsConstructor(ClassNode classNode) |
protected void |
initialize(ModuleNode moduleNode) |
protected CheckResult |
isImplementation(ClassNode classNode,
ClassNode type) |
protected void |
process(ClassNode classNode,
List<AnnotationNode> annotations,
ModuleNode moduleNode) |
protected abstract void |
removeStaleData(ClassNode classNode,
ModuleNode moduleNode) |
void |
visit(ASTNode[] nodes,
SourceUnit source) |
protected abstract void |
writeData() |
addError, checkNodesForAnnotationAndType, emptyMap, makeClassSafe, makeClassSafe, makeClassSafe, makeClassSafe0, makeClassSafeWithGenerics, makeClassSafeWithGenerics, makeClassSafeWithGenerics, makeGenericsType, makeGenericsType, makeGenericsType, newClass
public void visit(ASTNode[] nodes, SourceUnit source)
protected void initialize(ModuleNode moduleNode)
protected abstract ClassNode getAnnotationClassNode()
protected final void process(ClassNode classNode, List<AnnotationNode> annotations, ModuleNode moduleNode)
protected abstract void removeStaleData(ClassNode classNode, ModuleNode moduleNode)
protected abstract void handleAnnotations(ClassNode classNode, List<AnnotationNode> annotations, ModuleNode moduleNode)
protected abstract void writeData()
public static boolean hasNoArgsConstructor(ClassNode classNode)
protected CheckResult isImplementation(ClassNode classNode, ClassNode type)
protected List<Expression> findCollectionValueMember(AnnotationNode annotation, String memberName)
protected Expression findSingleValueMember(AnnotationNode annotation, String memberName)