public class AnnotationCollectorTransform
extends java.lang.Object
| Modifier and Type | Class and Description | 
|---|---|
| static class  | AnnotationCollectorTransform.ClassChangerClass used by  CompilationUnitto transform the alias class
 into what is needed by the compiler. | 
| Constructor and Description | 
|---|
| AnnotationCollectorTransform() | 
| Modifier and Type | Method and Description | 
|---|---|
| protected void | addError(java.lang.String message,
        ASTNode node,
        SourceUnit source)Adds a new syntax error to the source unit and then continues. | 
| protected java.util.List<AnnotationNode> | getTargetAnnotationList(AnnotationNode collector,
                       AnnotationNode aliasAnnotationUsage,
                       SourceUnit source)Returns a list of AnnotationNodes for the value attribute of the given 
 AnnotationNode. | 
| java.util.List<AnnotationNode> | visit(AnnotationNode collector,
     AnnotationNode aliasAnnotationUsage,
     AnnotatedNode aliasAnnotated,
     SourceUnit source)Implementation method of the alias annotation processor. | 
protected void addError(java.lang.String message,
                        ASTNode node,
                        SourceUnit source)
message - the messagenode - the node for the error reportsource - the source unit for the error reportprotected java.util.List<AnnotationNode> getTargetAnnotationList(AnnotationNode collector, AnnotationNode aliasAnnotationUsage, SourceUnit source)
collector - the node containing the value member with the listsource - the source unit for error reportingpublic java.util.List<AnnotationNode> visit(AnnotationNode collector, AnnotationNode aliasAnnotationUsage, AnnotatedNode aliasAnnotated, SourceUnit source)
collector - reference to the annotation with AnnotationCollectoraliasAnnotationUsage - reference to the place of usage of the aliasaliasAnnotated - reference to the node that has been annotated by the aliassource - source unit for error reporting