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 TypeMethod and Description
public PatternTree

Returns:

the pattern
getPattern
()

The pattern for the case.

Method Detail

getPatternback to summary
public PatternTree getPattern()

The pattern for the case.

Returns:PatternTree

the pattern