public class ConstructorNodeUtils extends Object
Utility class for working with ConstructorNodes
| Type Params | Return Type | Name and description |
|---|---|---|
|
public static Statement |
checkPropNamesS(VariableExpression namedArgs, boolean pojo, List<PropertyNode> props) |
|
public static ConstructorCallExpression |
getFirstIfSpecialConstructorCall(Statement code)Return the first statement from the constructor code if it is a call to super or this, otherwise null. |
Return the first statement from the constructor code if it is a call to super or this, otherwise null.
code - the code to check