Package org.sonar.plugins.java.api.tree
Interface NewClassTree
- All Superinterfaces:
ExpressionTree
,Tree
- All Known Implementing Classes:
NewClassTreeImpl
Class instance creation expression.
JLS 15.9
newidentifier()
( ) newidentifier()
(arguments()
) newtypeArguments()
identifier()
(arguments()
)classBody()
enclosingExpression()
. newidentifier()
(arguments()
)
- Since:
- Java 1.3
-
Nested Class Summary
-
Method Summary
Modifier and TypeMethodDescriptiondotToken()
"dot" is not null only when the enclosing expression is present"new" keyword is null for#initializer()
Methods inherited from interface org.sonar.plugins.java.api.tree.ExpressionTree
asConstant, asConstant, symbolType
-
Method Details
-
enclosingExpression
-
dotToken
"dot" is not null only when the enclosing expression is present -
newKeyword
"new" keyword is null for#initializer()
-
typeArguments
- Since:
- Java 1.5
-
identifier
TypeTree identifier() -
arguments
Arguments arguments() -
classBody
-
constructorSymbol
Symbol constructorSymbol()
-