@Beta public interface NewClassTree extends ExpressionTree
newidentifier()( ) newidentifier()(arguments()) newtypeArguments()identifier()(arguments())classBody()enclosingExpression(). newidentifier()(arguments())
| Modifier and Type | Method and Description |
|---|---|
Arguments |
arguments() |
ClassTree |
classBody() |
Symbol |
constructorSymbol() |
SyntaxToken |
dotToken()
"dot" is not null only when the enclosing expression is present
|
ExpressionTree |
enclosingExpression() |
TypeTree |
identifier() |
SyntaxToken |
newKeyword()
"new" keyword is null for
#initializer() |
TypeArguments |
typeArguments() |
symbolType@Nullable ExpressionTree enclosingExpression()
@Nullable SyntaxToken dotToken()
@Nullable SyntaxToken newKeyword()
#initializer()TypeArguments typeArguments()
TypeTree identifier()
Arguments arguments()
Symbol constructorSymbol()
Copyright © 2012–2017 SonarSource. All rights reserved.