public class ConstructorNodeUtils extends Object
Utility class for working with ConstructorNodes
Type Params | Return Type | Name and description |
---|---|---|
|
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.