Package org.sonar.plugins.java.api.tree
Interface RecordPatternTree
- All Superinterfaces:
ExpressionTree,PatternTree,Tree
- All Known Implementing Classes:
RecordPatternTreeImpl
Record pattern tree.
Introduced with Java 19 and JEP-405.
Finalized with Java 21 and JEP-440.
casetype()(patterns()) : ... casetype()(patterns()) -> ...
- Since:
- Java 19
-
Nested Class Summary
-
Method Summary
Methods inherited from interface org.sonar.plugins.java.api.tree.ExpressionTree
asConstant, asConstant, symbolType
-
Method Details
-
type
TypeTree type() -
openParenToken
SyntaxToken openParenToken() -
patterns
List<PatternTree> patterns() -
closeParenToken
SyntaxToken closeParenToken()
-