- org.codehaus.groovy.transform.AbstractASTTransformUtil
-
- All Implemented Interfaces and Traits:
- org.objectweb.asm.Opcodes
@Deprecated
public abstract class AbstractASTTransformUtil
extends Object
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you under the Apache License, Version 2.0 (the
"License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
-
-
Methods Summary
Methods
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
- Summary:
Nested Field Constructor - Method
- | Detail:
Field Constructor - Method
Copyright © 2003-2015 The Apache Software Foundation. All rights reserved.