OpenJDK 27
jdk.compiler
com.sun.source.tree
PatternCaseLabelTree
APIdia Launch Partner
Top
Description
Methods
com.sun.source.tree
public
Interface PatternCaseLabelTree
extends
CaseLabelTree
Known Direct Implementers
com.
sun.
tools.
javac.
tree.
JCTree.
JCPatternCaseLabel
A case label element that refers to an expression
Since
21
Method Summary
Modifier and Type
Method and Description
public
PatternTree
Returns:
the pattern
getPattern
()
The pattern for the case.
Method Detail
getPattern
back to summary
public
PatternTree
getPattern
()
The pattern for the case.
Returns:
PatternTree
the pattern