Package org.codehaus.groovy.ast
Interface GroovyClassVisitor
- All Known Implementing Classes:
AbstractInterruptibleASTTransformation
,AnnotationConstantsVisitor
,AsmClassGenerator
,ASTTransformationCollectorCodeVisitor
,ASTTransformationVisitor
,ClassCodeExpressionTransformer
,ClassCodeVisitorSupport
,ClassCompletionVerifier
,ClassGenerator
,ContextualClassCodeVisitor
,DependencyTracker
,DummyClassGenerator
,EnumCompletionVisitor
,EnumVisitor
,ExtendedVerifier
,FieldASTTransformation
,FinalVariableAnalyzer
,GenericsVisitor
,GrabAnnotationTransformation
,GroovydocVisitor
,InnerClassCompletionVisitor
,InnerClassVisitor
,InnerClassVisitorHelper
,InstanceOfVerifier
,JavaAwareResolveVisitor
,LabelVerifier
,NewifyASTTransformation
,OptimizerVisitor
,ResolveVisitor
,SharedVariableCollector
,StaticCompilationTransformer
,StaticCompilationVisitor
,StaticImportVisitor
,StaticTypeCheckingVisitor
,StaticTypeCheckingVisitor.VariableExpressionTypeMemoizer
,StaticVerifier
,VariableScopeVisitor
,Verifier
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
.- See Also:
ClassNode
,ClassCodeVisitorSupport
-
Method Summary
Modifier and Type Method Description void
visitClass(ClassNode node)
Visit a ClassNode.void
visitConstructor(ConstructorNode node)
Visit a ConstructorNode.void
visitField(FieldNode node)
Visit a FieldNode.void
visitMethod(MethodNode node)
Visit a MethodNode.void
visitProperty(PropertyNode node)
Visit a PropertyNode.
-
Method Details
-
visitClass
Visit a ClassNode. -
visitConstructor
Visit a ConstructorNode. -
visitMethod
Visit a MethodNode. -
visitField
Visit a FieldNode. -
visitProperty
Visit a PropertyNode.
-