Package org.apache.groovy.ast.tools
Class ConstructorNodeUtils
java.lang.Object
org.apache.groovy.ast.tools.ConstructorNodeUtils
Utility class for working with ConstructorNodes
- 
Method SummaryModifier and TypeMethodDescriptionstatic StatementcheckPropNamesS(VariableExpression namedArgs, boolean pojo, List<PropertyNode> props) static ConstructorCallExpressionReturn the first statement from the constructor code if it is a call to super or this, otherwise null.
- 
Method Details- 
getFirstIfSpecialConstructorCallReturn the first statement from the constructor code if it is a call to super or this, otherwise null.- Parameters:
- code- the code to check
- Returns:
- the first statement if a special call or null
 
- 
checkPropNamesSpublic static Statement checkPropNamesS(VariableExpression namedArgs, boolean pojo, List<PropertyNode> props) 
 
-