Package org.sonar.plugins.java.api.tree
Interface PatternInstanceOfTree
- All Superinterfaces:
ExpressionTree
,Tree
- All Known Implementing Classes:
InstanceOfTreeImpl
'instanceof' expression with pattern-matching.
JLS 15.20.2
expression()
instanceofvariable()
- Since:
- Java 16
-
Nested Class Summary
-
Method Summary
Methods inherited from interface org.sonar.plugins.java.api.tree.ExpressionTree
asConstant, asConstant, symbolType
-
Method Details
-
expression
ExpressionTree expression() -
instanceofKeyword
SyntaxToken instanceofKeyword() -
variable
VariableTree variable()
-