Package: org.codehaus.groovy.ast

## [Java] Class ClassCodeVisitorSupport

- org.codehaus.groovy.ast.ClassCodeVisitorSupport

- All Implemented Interfaces and Traits:
    ErrorCollecting, GroovyClassVisitor

      public abstract class ClassCodeVisitorSupport
      extends CodeVisitorSupport
      implements ErrorCollecting, GroovyClassVisitor

- - ### Methods Summary

    Methods
    Type Params | Return Type | Name and description
    --- | --- | ---
    `` | `public void` | `addError(String error, ASTNode node)`
    `` | `protected abstract SourceUnit` | `getSourceUnit()`
    `` | `protected void` | `visitAnnotation(AnnotationNode node)`
    `` | `public void` | `visitAnnotations(AnnotatedNode node)`
    `` | `protected final void` | `visitAnnotations(Iterable<AnnotationNode> nodes)`
    `` | `public void` | `visitAssertStatement(AssertStatement statement)`
    `` | `public void` | `visitBlockStatement(BlockStatement statement)`
    `` | `public void` | `visitBreakStatement(BreakStatement statement)`
    `` | `public void` | `visitCaseStatement(CaseStatement statement)`
    `` | `public void` | `visitCatchStatement(CatchStatement statement)`
    `` | `public void` | `visitClass(ClassNode node)`
    `` | `protected void` | `visitClassCodeContainer(Statement code)`
    `` | `public void` | `visitConstructor(ConstructorNode node)`
    `` | `protected void` | `visitConstructorOrMethod(MethodNode node, boolean isConstructor)`
    `` | `public void` | `visitContinueStatement(ContinueStatement statement)`
    `` | `public void` | `visitDeclarationExpression(DeclarationExpression expression)`
    `` | `public void` | `visitDoWhileLoop(DoWhileStatement statement)`
    `` | `public void` | `visitExpressionStatement(ExpressionStatement statement)`
    `` | `public void` | `visitField(FieldNode node)`
    `` | `public void` | `visitForLoop(ForStatement statement)`
    `` | `public void` | `visitIfElse(IfStatement statement)`
    `` | `public void` | `visitImports(ModuleNode node)`
    `` | `public void` | `visitMethod(MethodNode node)`
    `` | `protected void` | `visitObjectInitializerStatements(ClassNode node)`
    `` | `public void` | `visitPackage(PackageNode node)`
    `` | `public void` | `visitProperty(PropertyNode node)`
    `` | `public void` | `visitReturnStatement(ReturnStatement statement)`
    `` | `protected void` | `visitStatement(Statement statement)`
    `` | `public void` | `visitSwitch(SwitchStatement statement)`
    `` | `public void` | `visitSynchronizedStatement(SynchronizedStatement statement)`
    `` | `public void` | `visitThrowStatement(ThrowStatement statement)`
    `` | `public void` | `visitTryCatchFinally(TryCatchStatement statement)`
    `` | `public void` | `visitWhileLoop(WhileStatement statement)`

  - ### Inherited Methods Summary

    Inherited Methods
    Methods inherited from class | Name
    --- | ---
    `class CodeVisitorSupport` | `afterSwitchConditionExpressionVisited, visitArgumentlistExpression, visitArrayExpression, visitAssertStatement, visitAttributeExpression, visitBinaryExpression, visitBitwiseNegationExpression, visitBlockStatement, visitBooleanExpression, visitBreakStatement, visitBytecodeExpression, visitCaseStatement, visitCastExpression, visitCatchStatement, visitClassExpression, visitClosureExpression, visitClosureListExpression, visitConstantExpression, visitConstructorCallExpression, visitContinueStatement, visitDeclarationExpression, visitDoWhileLoop, visitEmptyStatement, visitExpressionStatement, visitFieldExpression, visitForLoop, visitGStringExpression, visitIfElse, visitLambdaExpression, visitListExpression, visitMapEntryExpression, visitMapExpression, visitMethodCallExpression, visitMethodPointerExpression, visitMethodReferenceExpression, visitNotExpression, visitPostfixExpression, visitPrefixExpression, visitPropertyExpression, visitRangeExpression, visitReturnStatement, visitShortTernaryExpression, visitSpreadExpression, visitSpreadMapExpression, visitStaticMethodCallExpression, visitSwitch, visitSynchronizedStatement, visitTernaryExpression, visitThrowStatement, visitTryCatchFinally, visitTupleExpression, visitUnaryMinusExpression, visitUnaryPlusExpression, visitVariableExpression, visitWhileLoop`

- - ### Method Detail

    - #### @Override public void addError(String error, ASTNode node)

    - #### protected abstract SourceUnit getSourceUnit()

    - #### protected void visitAnnotation(AnnotationNode node)

    - #### public void visitAnnotations(AnnotatedNode node)

    - #### protected final void visitAnnotations(Iterable<AnnotationNode> nodes)

    - #### @Override public void visitAssertStatement(AssertStatement statement)

    - #### @Override public void visitBlockStatement(BlockStatement statement)

    - #### @Override public void visitBreakStatement(BreakStatement statement)

    - #### @Override public void visitCaseStatement(CaseStatement statement)

    - #### @Override public void visitCatchStatement(CatchStatement statement)

    - #### @Override public void visitClass(ClassNode node)

    - #### protected void visitClassCodeContainer(Statement code)

    - #### @Override public void visitConstructor(ConstructorNode node)

    - #### protected void visitConstructorOrMethod(MethodNode node, boolean isConstructor)

    - #### @Override public void visitContinueStatement(ContinueStatement statement)

    - #### @Override public void visitDeclarationExpression(DeclarationExpression expression)

    - #### @Override public void visitDoWhileLoop(DoWhileStatement statement)

    - #### @Override public void visitExpressionStatement(ExpressionStatement statement)

    - #### @Override public void visitField(FieldNode node)

    - #### @Override public void visitForLoop(ForStatement statement)

    - #### @Override public void visitIfElse(IfStatement statement)

    - #### public void visitImports(ModuleNode node)

    - #### @Override public void visitMethod(MethodNode node)

    - #### protected void visitObjectInitializerStatements(ClassNode node)

    - #### public void visitPackage(PackageNode node)

    - #### @Override public void visitProperty(PropertyNode node)

    - #### @Override public void visitReturnStatement(ReturnStatement statement)

    - #### protected void visitStatement(Statement statement)

    - #### @Override public void visitSwitch(SwitchStatement statement)

    - #### @Override public void visitSynchronizedStatement(SynchronizedStatement statement)

    - #### @Override public void visitThrowStatement(ThrowStatement statement)

    - #### @Override public void visitTryCatchFinally(TryCatchStatement statement)

    - #### @Override public void visitWhileLoop(WhileStatement statement)