Uses of Interface
com.sun.source.tree.PatternTree
Package
Description
Provides interfaces to represent source code as abstract syntax
trees (AST).
-
Uses of PatternTree in com.sun.source.tree
Modifier and TypeInterfaceDescriptioninterface
Preview.A tree node for a binding pattern that matches a pattern with a variable of any name and a type of the match candidate; an unnamed pattern.interface
A binding pattern treeinterface
A deconstruction pattern tree.Modifier and TypeMethodDescriptionInstanceOfTree.getPattern()
Returns the tested pattern, or null if this instanceof does not use a pattern.PatternCaseLabelTree.getPattern()
The pattern for the case.Modifier and TypeMethodDescriptionList
<? extends PatternTree> DeconstructionPatternTree.getNestedPatterns()
Returns the nested patterns.