Interface NullPatternTree
- All Superinterfaces:
ExpressionTree, PatternTree, Tree
- All Known Implementing Classes:
NullPatternTreeImpl
Null pattern tree.
Introduced with Java 17 and JEP-406.
Finalized with Java 21 and JEP-441.
casenullLiteral(): ... casenullLiteral()-> ...
- Since:
- Java 17
-
Nested Class Summary
-
Method Summary
Methods inherited from interface ExpressionTree
asConstant, asConstant, symbolType
-
Method Details
-
nullLiteral
LiteralTree nullLiteral()
-