- org.codehaus.groovy.transform.AbstractASTTransformUtil
-
-
Methods Summary
Methods
Type Params |
Return Type |
Name and description |
|
static Statement |
assignStatement(Expression target, Expression value)
|
|
static Statement |
createConstructorStatementDefault(FieldNode fNode)
|
|
static ExpressionStatement |
declStatement(Expression result, Expression init)
|
|
static BooleanExpression |
differentExpr(Expression self, Expression other)
|
|
static BooleanExpression |
differentFieldExpr(FieldNode fNode, Expression other)
|
|
static BooleanExpression |
differentPropertyExpr(PropertyNode pNode, Expression other)
|
|
static BooleanExpression |
equalsNullExpr(Expression argExpr)
|
|
static Expression |
findArg(String argName)
|
|
static List<FieldNode> |
getInstanceNonPropertyFields(ClassNode cNode)
|
|
static List<PropertyNode> |
getInstanceProperties(ClassNode cNode)
|
|
static List<FieldNode> |
getInstancePropertyFields(ClassNode cNode)
|
|
static List<FieldNode> |
getSuperNonPropertyFields(ClassNode cNode)
|
|
static List<FieldNode> |
getSuperPropertyFields(ClassNode cNode)
|
|
static boolean |
hasDeclaredMethod(ClassNode cNode, String name, int argsCount)
|
|
static BooleanExpression |
identicalExpr(Expression self, Expression other)
|
|
static BooleanExpression |
isInstanceOf(Expression objectExpression, ClassNode cNode)
|
|
static BooleanExpression |
isInstanceof(ClassNode cNode, Expression other)
|
|
static BooleanExpression |
isOneExpr(Expression expr)
|
|
static boolean |
isOrImplements(ClassNode fieldType, ClassNode interfaceType)
|
|
static BooleanExpression |
isTrueExpr(Expression argExpr)
|
|
static BooleanExpression |
isZeroExpr(Expression expr)
|
|
static BooleanExpression |
notNullExpr(Expression argExpr)
|
|
static Statement |
returnFalseIfFieldNotEqual(FieldNode fNode, Expression other)
|
|
static Statement |
returnFalseIfNotInstanceof(ClassNode cNode, Expression other)
|
|
static IfStatement |
returnFalseIfNull(Expression other)
|
|
static Statement |
returnFalseIfPropertyNotEqual(PropertyNode pNode, Expression other)
|
|
static Statement |
returnFalseIfWrongType(ClassNode cNode, Expression other)
|
|
static IfStatement |
returnTrueIfIdentical(Expression self, Expression other)
|
|
static Statement |
safeExpression(Expression fieldExpr, Expression expression)
|
-
Inherited Methods Summary
-
-
Method Detail
-
@com.github.javaparser.ast.expr.MarkerAnnotationExprDeprecated
public static Statement createConstructorStatementDefault(FieldNode fNode)
-
@com.github.javaparser.ast.expr.MarkerAnnotationExprDeprecated
public static Expression findArg(String argName)
-
@com.github.javaparser.ast.expr.MarkerAnnotationExprDeprecated
public static List<FieldNode> getInstanceNonPropertyFields(ClassNode cNode)
-
@com.github.javaparser.ast.expr.MarkerAnnotationExprDeprecated
public static List<PropertyNode> getInstanceProperties(ClassNode cNode)
-
@com.github.javaparser.ast.expr.MarkerAnnotationExprDeprecated
public static List<FieldNode> getInstancePropertyFields(ClassNode cNode)
-
@com.github.javaparser.ast.expr.MarkerAnnotationExprDeprecated
public static List<FieldNode> getSuperNonPropertyFields(ClassNode cNode)
-
@com.github.javaparser.ast.expr.MarkerAnnotationExprDeprecated
public static List<FieldNode> getSuperPropertyFields(ClassNode cNode)
-
@com.github.javaparser.ast.expr.MarkerAnnotationExprDeprecated
public static boolean hasDeclaredMethod(ClassNode cNode, String name, int argsCount)
-
@com.github.javaparser.ast.expr.MarkerAnnotationExprDeprecated
public static boolean isOrImplements(ClassNode fieldType, ClassNode interfaceType)
-
@com.github.javaparser.ast.expr.MarkerAnnotationExprDeprecated
public static Statement returnFalseIfFieldNotEqual(FieldNode fNode, Expression other)
-
@com.github.javaparser.ast.expr.MarkerAnnotationExprDeprecated
public static Statement returnFalseIfNotInstanceof(ClassNode cNode, Expression other)
-
@com.github.javaparser.ast.expr.MarkerAnnotationExprDeprecated
public static IfStatement returnFalseIfNull(Expression other)
-
@com.github.javaparser.ast.expr.MarkerAnnotationExprDeprecated
public static Statement returnFalseIfWrongType(ClassNode cNode, Expression other)
-
@com.github.javaparser.ast.expr.MarkerAnnotationExprDeprecated
public static Statement safeExpression(Expression fieldExpr, Expression expression)
- Summary:
Nested Field Constructor - Method
- | Detail:
Field Constructor - Method
Copyright © 2003-2020 The Apache Software Foundation. All rights reserved.