public abstract class ClassCodeVisitorSupport extends CodeVisitorSupport implements ErrorCollecting, GroovyClassVisitor
public void
addError(String error, ASTNode node)
protected abstract SourceUnit
getSourceUnit()
protected void
visitAnnotation(AnnotationNode node)
visitAnnotations(AnnotatedNode node)
protected final void
visitAnnotations(Iterable<AnnotationNode> nodes)
visitAssertStatement(AssertStatement statement)
visitBlockStatement(BlockStatement statement)
visitBreakStatement(BreakStatement statement)
visitCaseStatement(CaseStatement statement)
visitCatchStatement(CatchStatement statement)
visitClass(ClassNode node)
visitClassCodeContainer(Statement code)
visitConstructor(ConstructorNode node)
visitConstructorOrMethod(MethodNode node, boolean isConstructor)
visitContinueStatement(ContinueStatement statement)
visitDeclarationExpression(DeclarationExpression expression)
visitDoWhileLoop(DoWhileStatement statement)
visitExpressionStatement(ExpressionStatement statement)
visitField(FieldNode node)
visitForLoop(ForStatement statement)
visitIfElse(IfStatement statement)
visitImports(ModuleNode node)
visitMethod(MethodNode node)
visitObjectInitializerStatements(ClassNode node)
visitPackage(PackageNode node)
visitProperty(PropertyNode node)
visitReturnStatement(ReturnStatement statement)
visitStatement(Statement statement)
visitSwitch(SwitchStatement statement)
visitSynchronizedStatement(SynchronizedStatement statement)
visitThrowStatement(ThrowStatement statement)
visitTryCatchFinally(TryCatchStatement statement)
visitWhileLoop(WhileStatement statement)
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
Copyright © 2003-2022 The Apache Software Foundation. All rights reserved.