public class ClassCompletionVerifier extends ClassCodeVisitorSupport
Constructor and Description |
---|
ClassCompletionVerifier(SourceUnit source) |
Modifier and Type | Method and Description |
---|---|
ClassNode |
getClassNode() |
protected SourceUnit |
getSourceUnit() |
void |
visitBinaryExpression(BinaryExpression expression) |
void |
visitCatchStatement(CatchStatement cs) |
void |
visitClass(ClassNode node)
Visit a ClassNode.
|
void |
visitConstantExpression(ConstantExpression expression) |
void |
visitConstructor(ConstructorNode node)
Visit a ConstructorNode.
|
void |
visitDeclarationExpression(DeclarationExpression expression) |
void |
visitField(FieldNode node)
Visit a FieldNode.
|
void |
visitGStringExpression(GStringExpression expression) |
void |
visitMethod(MethodNode node)
Visit a MethodNode.
|
void |
visitMethodCallExpression(MethodCallExpression mce) |
void |
visitProperty(PropertyNode node)
Visit a PropertyNode.
|
addError, visitAnnotations, visitAssertStatement, visitBlockStatement, visitBreakStatement, visitCaseStatement, visitClassCodeContainer, visitConstructorOrMethod, visitContinueStatement, visitDoWhileLoop, visitExpressionStatement, visitForLoop, visitIfElse, visitImports, visitObjectInitializerStatements, visitPackage, visitReturnStatement, visitStatement, visitSwitch, visitSynchronizedStatement, visitThrowStatement, visitTryCatchFinally, visitWhileLoop
visitArgumentlistExpression, visitArrayExpression, visitAttributeExpression, visitBitwiseNegationExpression, visitBooleanExpression, visitBytecodeExpression, visitCastExpression, visitClassExpression, visitClosureExpression, visitClosureListExpression, visitConstructorCallExpression, visitEmptyStatement, visitFieldExpression, visitListExpression, visitListOfExpressions, visitMapEntryExpression, visitMapExpression, visitMethodPointerExpression, visitNotExpression, visitPostfixExpression, visitPrefixExpression, visitPropertyExpression, visitRangeExpression, visitShortTernaryExpression, visitSpreadExpression, visitSpreadMapExpression, visitStaticMethodCallExpression, visitTernaryExpression, visitTupleExpression, visitUnaryMinusExpression, visitUnaryPlusExpression, visitVariableExpression
public ClassCompletionVerifier(SourceUnit source)
public ClassNode getClassNode()
public void visitClass(ClassNode node)
GroovyClassVisitor
visitClass
in interface GroovyClassVisitor
visitClass
in class ClassCodeVisitorSupport
protected SourceUnit getSourceUnit()
getSourceUnit
in class ClassCodeVisitorSupport
public void visitMethod(MethodNode node)
GroovyClassVisitor
visitMethod
in interface GroovyClassVisitor
visitMethod
in class ClassCodeVisitorSupport
public void visitField(FieldNode node)
GroovyClassVisitor
visitField
in interface GroovyClassVisitor
visitField
in class ClassCodeVisitorSupport
public void visitProperty(PropertyNode node)
GroovyClassVisitor
visitProperty
in interface GroovyClassVisitor
visitProperty
in class ClassCodeVisitorSupport
public void visitBinaryExpression(BinaryExpression expression)
visitBinaryExpression
in interface GroovyCodeVisitor
visitBinaryExpression
in class CodeVisitorSupport
public void visitConstructor(ConstructorNode node)
GroovyClassVisitor
visitConstructor
in interface GroovyClassVisitor
visitConstructor
in class ClassCodeVisitorSupport
public void visitCatchStatement(CatchStatement cs)
visitCatchStatement
in interface GroovyCodeVisitor
visitCatchStatement
in class ClassCodeVisitorSupport
public void visitMethodCallExpression(MethodCallExpression mce)
visitMethodCallExpression
in interface GroovyCodeVisitor
visitMethodCallExpression
in class CodeVisitorSupport
public void visitDeclarationExpression(DeclarationExpression expression)
visitDeclarationExpression
in interface GroovyCodeVisitor
visitDeclarationExpression
in class ClassCodeVisitorSupport
public void visitConstantExpression(ConstantExpression expression)
visitConstantExpression
in interface GroovyCodeVisitor
visitConstantExpression
in class CodeVisitorSupport
public void visitGStringExpression(GStringExpression expression)
visitGStringExpression
in interface GroovyCodeVisitor
visitGStringExpression
in class CodeVisitorSupport