Package org.sonar.plugins.java.api.tree
Interface InstanceOfTree
-
- All Superinterfaces:
ExpressionTree
,Tree
- All Known Implementing Classes:
InstanceOfTreeImpl
@Beta public interface InstanceOfTree extends ExpressionTree
'instanceof' expression. JLS 15.20.2expression()
instanceoftype()
- Since:
- Java 1.3
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description ExpressionTree
expression()
SyntaxToken
instanceofKeyword()
IdentifierTree
patternVariable()
Deprecated.Preview FeatureTypeTree
type()
-
Methods inherited from interface org.sonar.plugins.java.api.tree.ExpressionTree
asConstant, asConstant, symbolType
-
-
-
-
Method Detail
-
expression
ExpressionTree expression()
-
instanceofKeyword
SyntaxToken instanceofKeyword()
-
type
TypeTree type()
-
patternVariable
@Deprecated @Nullable IdentifierTree patternVariable()
Deprecated.Preview Feature- Since:
- Java 14
-
-