@FunctionalInterface
public static interface Variable.AnnotationHelper
Modifier and Type | Method and Description |
---|---|
void |
annotate(Variable var,
Aast ast,
boolean original,
boolean inMethod,
SymbolResolver sym)
Applys custom annotation processing to the given node.
|
void annotate(Variable var, Aast ast, boolean original, boolean inMethod, SymbolResolver sym)
var
- The variable instance being used as the source of the annotations.ast
- The AST to annotate.original
- true
if this is to annotate the AST of the original definition,
false
if the AST is only a reference.inMethod
- true
if this is being done from within a method definition.sym
- The current symbol resolver.