new identifier ( )
new identifier ( arguments )
new typeArguments identifier ( arguments )
classBody
enclosingExpression.new identifier ( arguments )
| Modifier and Type | Method and Description |
|---|---|
| public List | |
| public ClassTree | Returns: the class bodyReturns the class body if an anonymous class is being
instantiated, and |
| public ExpressionTree | Returns: the enclosing expressionReturns the enclosing expression, or |
| public ExpressionTree | |
| public List | Returns: the type argumentsReturns the type arguments for the object being created. |
| getArguments | back to summary |
|---|---|
| public List Returns the arguments for the constructor to be invoked.
| |
| getClassBody | back to summary |
|---|---|
| public ClassTree getClassBody() Returns the class body if an anonymous class is being
instantiated, and
| |
| getEnclosingExpression | back to summary |
|---|---|
| public ExpressionTree getEnclosingExpression() Returns the enclosing expression, or
| |
| getIdentifier | back to summary |
|---|---|
| public ExpressionTree getIdentifier() Returns the name of the class being instantiated.
| |
| getTypeArguments | back to summary |
|---|---|
| public List Returns the type arguments for the object being created. | |