|
Groovy Documentation | |||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.codehaus.groovy.ast.CodeVisitorSupport org.codehaus.groovy.ast.ClassCodeVisitorSupport org.codehaus.groovy.control.GenericsVisitor
public class GenericsVisitor extends ClassCodeVisitorSupport
class used to verify correct usage of generics in class header (class and superclass declaration)
Constructor Summary | |
GenericsVisitor(SourceUnit source)
|
Method Summary | |
---|---|
protected SourceUnit
|
getSourceUnit()
|
void
|
visitClass(ClassNode node)
|
void
|
visitField(FieldNode node)
|
void
|
visitMethod(MethodNode node)
|
Methods inherited from class java.lang.Object | |
---|---|
java.lang.Object#wait(long, int), java.lang.Object#wait(long), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
Constructor Detail |
---|
public GenericsVisitor(SourceUnit source)
Method Detail |
---|
protected SourceUnit getSourceUnit()
public void visitClass(ClassNode node)
public void visitField(FieldNode node)
public void visitMethod(MethodNode node)
Groovy Documentation