- org.codehaus.groovy.transform.sc.transformers.StaticCompilationTransformer
-
Some expressions use symbols as aliases to method calls (<<, +=, ...). In static compilation,
if such a method call is found, we transform the original binary expression into a method
call expression so that the call gets statically compiled.
- Authors:
- Cedric Champeau
-
-
Methods Summary
-
Inherited Methods Summary
Inherited Methods
Methods inherited from class |
Name |
class ClassCodeExpressionTransformer |
visitField, visitProperty, visitReturnStatement, visitForLoop, visitWhileLoop, visitDoWhileLoop, visitIfElse, visitExpressionStatement, visitAssertStatement, visitSwitch, visitCaseStatement, visitThrowStatement, visitSynchronizedStatement, visitAnnotations, transform, visitMethod, visitConstructor, visitTryCatchFinally, visitBreakStatement, visitContinueStatement, visitCatchStatement, visitBlockStatement, visitDeclarationExpression, visitClass, visitPackage, visitImports, visitClassExpression, visitPropertyExpression, visitConstantExpression, visitListExpression, visitClosureExpression, visitStaticMethodCallExpression, visitConstructorCallExpression, visitTernaryExpression, visitShortTernaryExpression, visitBinaryExpression, visitArgumentlistExpression, visitMethodCallExpression, visitTupleExpression, visitPrefixExpression, visitPostfixExpression, visitBooleanExpression, visitMapExpression, visitMapEntryExpression, visitRangeExpression, visitAttributeExpression, visitFieldExpression, visitMethodPointerExpression, visitGStringExpression, visitArrayExpression, visitSpreadExpression, visitSpreadMapExpression, visitNotExpression, visitUnaryMinusExpression, visitUnaryPlusExpression, visitBitwiseNegationExpression, visitCastExpression, visitClosureListExpression, visitBytecodeExpression, visitVariableExpression, wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll |
class ClassCodeVisitorSupport |
visitMethod, visitField, visitProperty, visitConstructor, visitReturnStatement, visitForLoop, visitWhileLoop, visitDoWhileLoop, visitIfElse, visitExpressionStatement, visitAssertStatement, visitTryCatchFinally, visitSwitch, visitCaseStatement, visitBreakStatement, visitContinueStatement, visitThrowStatement, visitSynchronizedStatement, visitCatchStatement, visitBlockStatement, visitDeclarationExpression, visitClass, visitPackage, visitImports, visitAnnotations, visitClassExpression, visitPropertyExpression, visitConstantExpression, visitListExpression, visitClosureExpression, visitStaticMethodCallExpression, visitConstructorCallExpression, visitTernaryExpression, visitShortTernaryExpression, visitBinaryExpression, visitArgumentlistExpression, visitMethodCallExpression, visitTupleExpression, visitPrefixExpression, visitPostfixExpression, visitBooleanExpression, visitMapExpression, visitMapEntryExpression, visitRangeExpression, visitAttributeExpression, visitFieldExpression, visitMethodPointerExpression, visitGStringExpression, visitArrayExpression, visitSpreadExpression, visitSpreadMapExpression, visitNotExpression, visitUnaryMinusExpression, visitUnaryPlusExpression, visitBitwiseNegationExpression, visitCastExpression, visitClosureListExpression, visitBytecodeExpression, visitVariableExpression, wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll |
-
-
Field Detail
-
protected static final ClassNode BYTECODE_ADAPTER_CLASS
Copyright © 2003-2014 The Codehaus. All rights reserved.