Uses of Interface
com.sun.source.tree.PatternTree
Packages that use PatternTree
Package
Description
Provides interfaces to represent source code as abstract syntax
trees (AST).
-
Uses of PatternTree in com.sun.source.tree
Subinterfaces of PatternTree in com.sun.source.treeModifier and TypeInterfaceDescriptioninterface
A binding pattern treeinterface
Preview.A deconstruction pattern tree.interface
Preview.A tree node for a parenthesized pattern.Methods in com.sun.source.tree that return PatternTreeModifier and TypeMethodDescriptionInstanceOfTree.getPattern()
Returns the tested pattern, or null if this instanceof does not use a pattern.ParenthesizedPatternTree.getPattern()
Returns the pattern within the parentheses.PatternCaseLabelTree.getPattern()
The pattern for the case.Methods in com.sun.source.tree that return types with arguments of type PatternTreeModifier and TypeMethodDescriptionList<? extends PatternTree>
DeconstructionPatternTree.getNestedPatterns()
Returns the nested patterns.