public abstract class InnerClassVisitorHelper extends ClassCodeVisitorSupport
Constructor and Description |
---|
InnerClassVisitorHelper() |
Modifier and Type | Method and Description |
---|---|
protected static void |
addFieldInit(Parameter p,
FieldNode fn,
BlockStatement block) |
protected static ClassNode |
getClassNode(ClassNode node,
boolean isStatic) |
protected static int |
getObjectDistance(ClassNode node) |
protected static boolean |
isStatic(InnerClassNode node) |
protected static void |
setMethodDispatcherCode(BlockStatement block,
Expression thiz,
Parameter[] parameters) |
protected static void |
setPropertyGetterDispatcher(BlockStatement block,
Expression thiz,
Parameter[] parameters) |
protected static void |
setPropertySetterDispatcher(BlockStatement block,
Expression thiz,
Parameter[] parameters) |
protected static boolean |
shouldHandleImplicitThisForInnerClass(ClassNode cn) |
addError, getSourceUnit, visitAnnotations, visitAssertStatement, visitBlockStatement, visitBreakStatement, visitCaseStatement, visitCatchStatement, visitClass, visitClassCodeContainer, visitConstructor, visitConstructorOrMethod, visitContinueStatement, visitDeclarationExpression, visitDoWhileLoop, visitExpressionStatement, visitField, visitForLoop, visitIfElse, visitImports, visitMethod, visitObjectInitializerStatements, visitPackage, visitProperty, visitReturnStatement, visitStatement, visitSwitch, visitSynchronizedStatement, visitThrowStatement, visitTryCatchFinally, visitWhileLoop
visitArgumentlistExpression, visitArrayExpression, visitAttributeExpression, visitBinaryExpression, visitBitwiseNegationExpression, visitBooleanExpression, visitBytecodeExpression, visitCastExpression, visitClassExpression, visitClosureExpression, visitClosureListExpression, visitConstantExpression, visitConstructorCallExpression, visitEmptyStatement, visitFieldExpression, visitGStringExpression, visitListExpression, visitListOfExpressions, visitMapEntryExpression, visitMapExpression, visitMethodCallExpression, visitMethodPointerExpression, visitNotExpression, visitPostfixExpression, visitPrefixExpression, visitPropertyExpression, visitRangeExpression, visitShortTernaryExpression, visitSpreadExpression, visitSpreadMapExpression, visitStaticMethodCallExpression, visitTernaryExpression, visitTupleExpression, visitUnaryMinusExpression, visitUnaryPlusExpression, visitVariableExpression
protected static void setPropertyGetterDispatcher(BlockStatement block, Expression thiz, Parameter[] parameters)
protected static void setPropertySetterDispatcher(BlockStatement block, Expression thiz, Parameter[] parameters)
protected static void setMethodDispatcherCode(BlockStatement block, Expression thiz, Parameter[] parameters)
protected static boolean isStatic(InnerClassNode node)
protected static int getObjectDistance(ClassNode node)
protected static void addFieldInit(Parameter p, FieldNode fn, BlockStatement block)
protected static boolean shouldHandleImplicitThisForInnerClass(ClassNode cn)