Method Summary |
|
protected boolean | addInnerClass(ClassNode innerClass) |
protected static int | argumentSize(Expression arguments) |
protected boolean | argumentsUseStack(Expression arguments) |
protected static boolean | containsSpreadExpression(Expression arguments) |
protected ClassNode | createClosureClass(ClosureExpression expression) |
protected ClassNode | createGStringClass(GStringExpression expression) |
protected void | createInterfaceSyntheticStaticFields() |
protected Expression | createReturnLHSExpression(Expression expression) |
protected Expression | createReusableExpression(Expression expression) |
protected void | createSyntheticStaticFields() |
protected void | doConvertAndCast(ClassNode type, Expression expression, boolean ignoreAutoboxing, boolean forceCast, boolean coerce) |
protected void | doConvertAndCast(ClassNode type) |
protected void | doConvertAndCast(ClassNode type, boolean coerce) |
protected boolean | emptyArguments(Expression arguments) |
protected void | evaluateBinaryExpression(String method, BinaryExpression expression) |
protected void | evaluateBinaryExpressionWithAsignment(String method, BinaryExpression expression) |
protected void | evaluateCompareTo(BinaryExpression expression) |
protected void | evaluateEqual(BinaryExpression expression) |
protected void | evaluateExpression(Expression expression) |
protected void | evaluateInstanceof(BinaryExpression expression) |
protected void | evaluateLogicalAndExpression(BinaryExpression expression) |
protected void | evaluateLogicalOrExpression(BinaryExpression expression) |
protected void | evaluatePostfixMethod(String method, Expression expression) |
protected void | evaluatePrefixMethod(String method, Expression expression) |
protected Parameter[] | getClosureSharedVariables(ClosureExpression ce) |
protected CompileUnit | getCompileUnit() |
protected ClassNode | getExpressionType(Expression expression) |
protected ClassNode | getLHSType(Expression leftExpression) |
public static String | getMopMethodName(MethodNode method, boolean useThis) |
protected ClassNode | getOutermostClass() |
protected SourceUnit | getSourceUnit() |
protected boolean | isComparisonExpression(Expression expression) |
protected boolean | isFieldOrVariable(String name) |
protected boolean | isGroovyObject(Expression objectExpression) |
protected boolean | isHolderVariable(Expression expression) |
protected boolean | isInClosure() |
protected boolean | isInClosureConstructor() |
protected boolean | isInScriptBody() |
public static boolean | isMopMethod(String methodName) method to determine if a method is a MOP method. |
protected boolean | isNonStaticField(Expression expression) |
protected boolean | isPopRequired(Expression expression) |
protected boolean | isStaticMethod() |
protected boolean | isValidTypeForCast(ClassNode type) |
public void | loadInstanceField(FieldExpression fldExp) RHS instance field. |
public void | loadStaticField(FieldExpression fldExp) |
protected void | loadThisOrOwner() |
protected void | onLineNumber(ASTNode statement, String message) |
protected void | processClassVariable(String name) |
protected void | processFieldAccess(String name, FieldNode field, int steps) |
protected void | processStackVariable(Variable variable) |
public void | storeStaticField(FieldExpression expression) |
public void | storeThisInstanceField(FieldExpression expression) |
public static boolean | usesSuper(MethodCallExpression call) |
public static boolean | usesSuper(PropertyExpression pe) |
protected void | visitAndAutoboxBoolean(Expression expression) |
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 | visitBitwiseNegExpression(BitwiseNegExpression expression) |
public void | visitBlockStatement(BlockStatement block) |
public void | visitBooleanExpression(BooleanExpression expression) return a primitive boolean value of the BooleanExpresion. |
public void | visitBreakStatement(BreakStatement statement) |
public void | visitCaseStatement(CaseStatement statement) |
public void | visitCaseStatement(CaseStatement statement, int switchVariableIndex, Label thisLabel, Label nextLabel) |
public void | visitCastExpression(CastExpression expression) |
public void | visitClass(ClassNode classNode) |
public void | visitClassExpression(ClassExpression expression) |
public void | visitClosureExpression(ClosureExpression expression) |
public void | visitConstantExpression(ConstantExpression expression) |
public void | visitConstructor(ConstructorNode node) |
public void | visitConstructorCallExpression(ConstructorCallExpression call) |
protected void | visitConstructorOrMethod(MethodNode node, boolean isConstructor) |
public void | visitContinueStatement(ContinueStatement statement) |
public void | visitDeclarationExpression(DeclarationExpression expression) |
public void | visitDoWhileLoop(DoWhileStatement loop) |
public void | visitExpressionStatement(ExpressionStatement statement) |
public void | visitField(FieldNode fieldNode) |
public void | visitFieldExpression(FieldExpression expression) |
public void | visitForLoop(ForStatement loop) |
public void | visitGStringExpression(GStringExpression expression) |
public void | visitIfElse(IfStatement ifElse) |
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 | visitNegationExpression(NegationExpression expression) |
public void | visitNotExpression(NotExpression expression) |
protected void | visitOuterFieldExpression(FieldExpression expression, ClassNode outerClassNode, int steps, boolean first) |
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 | visitRegexExpression(RegexExpression expression) |
public void | visitReturnStatement(ReturnStatement statement) |
public void | visitSpreadExpression(SpreadExpression expression) |
public void | visitSpreadMapExpression(SpreadMapExpression expression) |
protected void | visitStatement(Statement statement) |
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 | visitVariableExpression(VariableExpression expression) Visits a bare (unqualified) variable expression. |
public void | visitWhileLoop(WhileStatement loop) |