Methods
Type Params |
Return Type |
Name and description |
|
public boolean |
addInnerClass(ClassNode innerClass)
|
|
public static int |
argumentSize(Expression arguments)
|
|
public static boolean |
containsSpreadExpression(Expression arguments)
|
|
public void |
despreadList(List<Expression> expressions, boolean wrap)
|
|
public WriterController |
getController()
|
|
public static FieldNode |
getDeclaredFieldOfCurrentClassOrAccessibleFieldOfSuper(ClassNode accessingNode, ClassNode current, String fieldName, boolean skipCurrent)
|
|
public SourceUnit |
getSourceUnit()
|
|
public static boolean |
isFieldDirectlyAccessible(FieldNode field, ClassNode clazz) Determines if the given class can directly access the given field (via
GETFIELD , GETSTATIC , etc. bytecode instructions). |
|
public static boolean |
isNullConstant(Expression expression)
|
|
public static boolean |
isSuperExpression(Expression expression)
|
|
public static boolean |
isThisExpression(Expression expression)
|
|
public static boolean |
isValidFieldNodeForByteCodeAccess(FieldNode field, ClassNode accessingClass)
- deprecated:
- use isFieldDirectlyAccessible(FieldNode, ClassNode) instead.
|
|
public void |
loadInstanceField(FieldExpression expression) RHS instance field. should move most of the code in the BytecodeHelper |
|
public void |
loadStaticField(FieldExpression expression)
|
|
public void |
loadWrapper(Expression argument)
|
|
public void |
onLineNumber(ASTNode statement, String message)
|
|
public void |
throwException(String message)
|
|
public void |
visit(org.objectweb.asm.MethodVisitor mv)
|
|
public void |
visit(org.objectweb.asm.MethodVisitor mv)
|
|
public void |
visit(org.objectweb.asm.MethodVisitor mv)
|
|
public void |
visit(org.objectweb.asm.MethodVisitor mv)
|
|
public void |
visit(org.objectweb.asm.MethodVisitor mv)
|
|
public void |
visitAnnotations(AnnotatedNode node)
|
|
public void |
visitArgumentlistExpression(ArgumentListExpression ale)
|
|
public void |
visitArrayExpression(ArrayExpression expression)
|
|
public void |
visitAssertStatement(AssertStatement statement)
|
|
public void |
visitAttributeExpression(AttributeExpression expression)
|
|
public void |
visitBinaryExpression(BinaryExpression expression)
|
|
public void |
visitBitwiseNegationExpression(BitwiseNegationExpression expression)
|
|
public void |
visitBlockStatement(BlockStatement statement)
|
|
public void |
visitBooleanExpression(BooleanExpression expression)
|
|
public void |
visitBreakStatement(BreakStatement statement)
|
|
public void |
visitBytecodeExpression(BytecodeExpression expression)
|
|
public void |
visitBytecodeSequence(BytecodeSequence bytecodeSequence)
|
|
public void |
visitCaseStatement(CaseStatement statement)
|
|
public void |
visitCastExpression(CastExpression castExpression)
|
|
public void |
visitCatchStatement(CatchStatement statement)
|
|
public void |
visitClass(ClassNode classNode)
|
|
public void |
visitClassExpression(ClassExpression expression)
|
|
public void |
visitClosureExpression(ClosureExpression expression)
|
|
public void |
visitClosureListExpression(ClosureListExpression expression)
|
|
public void |
visitConstantExpression(ConstantExpression expression) Generates byte code for constants. |
|
public void |
visitConstructor(ConstructorNode node)
|
|
public void |
visitConstructorCallExpression(ConstructorCallExpression call)
|
|
public void |
visitContinueStatement(ContinueStatement statement)
|
|
public void |
visitDeclarationExpression(DeclarationExpression expression)
|
|
public void |
visitDoWhileLoop(DoWhileStatement statement)
|
|
public void |
visitExpressionStatement(ExpressionStatement statement)
|
|
public void |
visitField(FieldNode fieldNode)
|
|
public void |
visitFieldExpression(FieldExpression expression)
|
|
public void |
visitForLoop(ForStatement statement)
|
|
public void |
visitGStringExpression(GStringExpression expression)
|
|
public void |
visitIfElse(IfStatement statement)
|
|
public void |
visitLambdaExpression(LambdaExpression expression)
|
|
public void |
visitListExpression(ListExpression expression)
|
|
public void |
visitMapEntryExpression(MapEntryExpression expression)
|
|
public void |
visitMapExpression(MapExpression expression)
|
|
public void |
visitMethod(MethodNode node)
|
|
public void |
visitMethodCallExpression(MethodCallExpression call)
|
|
public void |
visitMethodPointerExpression(MethodPointerExpression expression)
|
|
public void |
visitMethodReferenceExpression(MethodReferenceExpression expression)
|
|
public void |
visitNotExpression(NotExpression expression)
|
|
public void |
visitPostfixExpression(PostfixExpression expression)
|
|
public void |
visitPrefixExpression(PrefixExpression expression)
|
|
public void |
visitProperty(PropertyNode statement)
|
|
public void |
visitPropertyExpression(PropertyExpression expression)
|
|
public void |
visitRangeExpression(RangeExpression expression)
|
|
public void |
visitReturnStatement(ReturnStatement statement)
|
|
public void |
visitSpreadExpression(SpreadExpression expression)
|
|
public void |
visitSpreadMapExpression(SpreadMapExpression expression)
|
|
public void |
visitStaticMethodCallExpression(StaticMethodCallExpression call)
|
|
public void |
visitSwitch(SwitchStatement statement)
|
|
public void |
visitSynchronizedStatement(SynchronizedStatement statement)
|
|
public void |
visitTernaryExpression(TernaryExpression expression)
|
|
public void |
visitThrowStatement(ThrowStatement statement)
|
|
public void |
visitTryCatchFinally(TryCatchStatement statement)
|
|
public void |
visitTupleExpression(TupleExpression expression)
|
|
public void |
visitUnaryMinusExpression(UnaryMinusExpression expression)
|
|
public void |
visitUnaryPlusExpression(UnaryPlusExpression expression)
|
|
public void |
visitVariableExpression(VariableExpression expression)
|
|
public void |
visitWhileLoop(WhileStatement statement)
|