public class ExtendedVerifier extends java.lang.Object implements GroovyClassVisitor
Current limitations: - annotations on local variables are not supported
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
JVM_ERROR_MESSAGE |
Constructor and Description |
---|
ExtendedVerifier(SourceUnit sourceUnit) |
Modifier and Type | Method and Description |
---|---|
protected void |
addError(java.lang.String msg,
ASTNode expr) |
protected boolean |
isAnnotationCompatible()
Check if the current runtime allows Annotation usage.
|
protected void |
visitAnnotations(AnnotatedNode node,
int target) |
void |
visitClass(ClassNode node)
Visit a ClassNode.
|
void |
visitConstructor(ConstructorNode node)
Visit a ConstructorNode.
|
void |
visitField(FieldNode node)
Visit a FieldNode.
|
void |
visitGenericType(GenericsType genericsType) |
void |
visitMethod(MethodNode node)
Visit a MethodNode.
|
void |
visitProperty(PropertyNode node)
Visit a PropertyNode.
|
public static final java.lang.String JVM_ERROR_MESSAGE
public ExtendedVerifier(SourceUnit sourceUnit)
public void visitClass(ClassNode node)
GroovyClassVisitor
visitClass
in interface GroovyClassVisitor
public void visitField(FieldNode node)
GroovyClassVisitor
visitField
in interface GroovyClassVisitor
public void visitConstructor(ConstructorNode node)
GroovyClassVisitor
visitConstructor
in interface GroovyClassVisitor
public void visitMethod(MethodNode node)
GroovyClassVisitor
visitMethod
in interface GroovyClassVisitor
public void visitProperty(PropertyNode node)
GroovyClassVisitor
visitProperty
in interface GroovyClassVisitor
protected void visitAnnotations(AnnotatedNode node, int target)
protected boolean isAnnotationCompatible()
protected void addError(java.lang.String msg, ASTNode expr)
public void visitGenericType(GenericsType genericsType)