public interface GroovyClassVisitor
A special visitor for working with the structure of a class. In general, your will want to use the Abstract class based on this class ClassCodeVisitorSupport.
Type Params | Return Type | Name and description |
---|---|---|
public void |
visitClass(ClassNode node) Visit a ClassNode. | |
public void |
visitConstructor(ConstructorNode node) Visit a ConstructorNode. | |
public void |
visitField(FieldNode node) Visit a FieldNode. | |
public void |
visitMethod(MethodNode node) Visit a MethodNode. | |
public void |
visitProperty(PropertyNode node) Visit a PropertyNode. |
Visit a ClassNode.
Visit a ConstructorNode.
Visit a FieldNode.
Visit a MethodNode.
Visit a PropertyNode.
© 2003-2020 The Apache Software Foundation
Licensed under the Apache license.
https://docs.groovy-lang.org/3.0.7/html/gapi/org/codehaus/groovy/ast/GroovyClassVisitor.html