Top Constructors Methods
org.codehaus.groovy.transform

public abstract Class AbstractASTTransformUtil

extends Object
implements Opcodes
Class Inheritance
All Implemented Interfaces
org.objectweb.asm.Opcodes
Annotations
@Deprecated
Imports
org.codehaus.groovy.ast.ClassNode, .FieldNode, .PropertyNode, org.codehaus.groovy.ast.expr.BooleanExpression, .Expression, org.codehaus.groovy.ast.stmt.ExpressionStatement, .IfStatement, .Statement, org.codehaus.groovy.ast.tools.GeneralUtils, org.objectweb.asm.Opcodes, java.util.List

Deprecated

use org.codehaus.groovy.ast.tools.GeneralUtils

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public static Statement
assignStatement(Expression target, Expression value)

Deprecated
public static Statement
public static ExpressionStatement
declStatement(Expression result, Expression init)

Deprecated
public static BooleanExpression
differentExpr(Expression self, Expression other)

Deprecated
public static BooleanExpression
differentFieldExpr(FieldNode fNode, Expression other)

Deprecated
public static BooleanExpression
public static BooleanExpression
equalsNullExpr(Expression argExpr)

Deprecated
public static Expression
findArg(String argName)

Deprecated
public static List<FieldNode>
public static List<PropertyNode>
getInstanceProperties(ClassNode cNode)

Deprecated
public static List<FieldNode>
public static List<FieldNode>
public static List<FieldNode>
public static boolean
hasDeclaredMethod(ClassNode cNode, String name, int argsCount)

Deprecated
public static BooleanExpression
identicalExpr(Expression self, Expression other)

Deprecated
public static BooleanExpression
isInstanceOf(Expression objectExpression, ClassNode cNode)

Deprecated
public static BooleanExpression
isInstanceof(ClassNode cNode, Expression other)

Deprecated
public static BooleanExpression
isOneExpr(Expression expr)

Deprecated
public static boolean
isOrImplements(ClassNode fieldType, ClassNode interfaceType)

Deprecated
public static BooleanExpression
isTrueExpr(Expression argExpr)

Deprecated
public static BooleanExpression
isZeroExpr(Expression expr)

Deprecated
public static BooleanExpression
notNullExpr(Expression argExpr)

Deprecated
public static Statement
public static Statement
public static IfStatement
returnFalseIfNull(Expression other)

Deprecated
public static Statement
public static Statement
returnFalseIfWrongType(ClassNode cNode, Expression other)

Deprecated
public static IfStatement
public static Statement
safeExpression(Expression fieldExpr, Expression expression)

Deprecated
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

AbstractASTTransformUtilback to summary
public AbstractASTTransformUtil()

Method Detail

assignStatementback to summary
public static Statement assignStatement(Expression target, Expression value)

Deprecated

Annotations
@Deprecated
createConstructorStatementDefaultback to summary
public static Statement createConstructorStatementDefault(FieldNode fNode)

Deprecated

Annotations
@Deprecated
declStatementback to summary
public static ExpressionStatement declStatement(Expression result, Expression init)

Deprecated

Annotations
@Deprecated
differentExprback to summary
public static BooleanExpression differentExpr(Expression self, Expression other)

Deprecated

Annotations
@Deprecated
differentFieldExprback to summary
public static BooleanExpression differentFieldExpr(FieldNode fNode, Expression other)

Deprecated

Annotations
@Deprecated
differentPropertyExprback to summary
public static BooleanExpression differentPropertyExpr(PropertyNode pNode, Expression other)

Deprecated

Annotations
@Deprecated
equalsNullExprback to summary
public static BooleanExpression equalsNullExpr(Expression argExpr)

Deprecated

Annotations
@Deprecated
findArgback to summary
public static Expression findArg(String argName)

Deprecated

Annotations
@Deprecated
getInstanceNonPropertyFieldsback to summary
public static List<FieldNode> getInstanceNonPropertyFields(ClassNode cNode)

Deprecated

Annotations
@Deprecated
getInstancePropertiesback to summary
public static List<PropertyNode> getInstanceProperties(ClassNode cNode)

Deprecated

Annotations
@Deprecated
getInstancePropertyFieldsback to summary
public static List<FieldNode> getInstancePropertyFields(ClassNode cNode)

Deprecated

Annotations
@Deprecated
getSuperNonPropertyFieldsback to summary
public static List<FieldNode> getSuperNonPropertyFields(ClassNode cNode)

Deprecated

Annotations
@Deprecated
getSuperPropertyFieldsback to summary
public static List<FieldNode> getSuperPropertyFields(ClassNode cNode)

Deprecated

Annotations
@Deprecated
hasDeclaredMethodback to summary
public static boolean hasDeclaredMethod(ClassNode cNode, String name, int argsCount)

Deprecated

Annotations
@Deprecated
identicalExprback to summary
public static BooleanExpression identicalExpr(Expression self, Expression other)

Deprecated

Annotations
@Deprecated
isInstanceOfback to summary
public static BooleanExpression isInstanceOf(Expression objectExpression, ClassNode cNode)

Deprecated

Annotations
@Deprecated
isInstanceofback to summary
public static BooleanExpression isInstanceof(ClassNode cNode, Expression other)

Deprecated

Annotations
@Deprecated
isOneExprback to summary
public static BooleanExpression isOneExpr(Expression expr)

Deprecated

Annotations
@Deprecated
isOrImplementsback to summary
public static boolean isOrImplements(ClassNode fieldType, ClassNode interfaceType)

Deprecated

Annotations
@Deprecated
isTrueExprback to summary
public static BooleanExpression isTrueExpr(Expression argExpr)

Deprecated

Annotations
@Deprecated
isZeroExprback to summary
public static BooleanExpression isZeroExpr(Expression expr)

Deprecated

Annotations
@Deprecated
notNullExprback to summary
public static BooleanExpression notNullExpr(Expression argExpr)

Deprecated

Annotations
@Deprecated
returnFalseIfFieldNotEqualback to summary
public static Statement returnFalseIfFieldNotEqual(FieldNode fNode, Expression other)

Deprecated

Annotations
@Deprecated
returnFalseIfNotInstanceofback to summary
public static Statement returnFalseIfNotInstanceof(ClassNode cNode, Expression other)

Deprecated

Annotations
@Deprecated
returnFalseIfNullback to summary
public static IfStatement returnFalseIfNull(Expression other)

Deprecated

Annotations
@Deprecated
returnFalseIfPropertyNotEqualback to summary
public static Statement returnFalseIfPropertyNotEqual(PropertyNode pNode, Expression other)

Deprecated

Annotations
@Deprecated
returnFalseIfWrongTypeback to summary
public static Statement returnFalseIfWrongType(ClassNode cNode, Expression other)

Deprecated

Annotations
@Deprecated
returnTrueIfIdenticalback to summary
public static IfStatement returnTrueIfIdentical(Expression self, Expression other)

Deprecated

Annotations
@Deprecated
safeExpressionback to summary
public static Statement safeExpression(Expression fieldExpr, Expression expression)

Deprecated

Annotations
@Deprecated