org.sonar.plugins.java.api.tree
Interface NewClassTree
- All Superinterfaces:
- ExpressionTree, Tree
@Beta
public interface NewClassTree
- extends ExpressionTree
Class instance creation expression.
JLS 15.9
new identifier() ( )
new identifier() ( arguments() )
new typeArguments() identifier() ( arguments() ) classBody()
enclosingExpression() . new identifier() ( arguments() )
- Since:
- Java 1.3
| Nested classes/interfaces inherited from interface org.sonar.plugins.java.api.tree.Tree |
Tree.Kind |
| Methods inherited from interface org.sonar.plugins.java.api.tree.Tree |
accept, is |
enclosingExpression
@Nullable
ExpressionTree enclosingExpression()
typeArguments
List<Tree> typeArguments()
- Since:
- Java 1.5
identifier
Tree identifier()
arguments
List<ExpressionTree> arguments()
classBody
@Nullable
ClassTree classBody()
Copyright © 2012-2014 SonarSource. All Rights Reserved.