- All Superinterfaces:
- PatternTree,- Tree
public interface BindingPatternTree extends PatternTree
           This interface is associated with pattern matching for instanceof, a preview
           feature of the Java language. Preview features
           may be removed in a future release, or upgraded to permanent
           features of the Java language.
A binding pattern tree
- Since:
- 14
- 
Nested Class Summary
- 
Method SummaryModifier and Type Method Description NamegetBinding()A binding variable name.TreegetType()Returns the type of the bind variable.
- 
Method Details- 
getTypeTree getType()Returns the type of the bind variable.- Returns:
- the type
 
- 
getBindingName getBinding()A binding variable name.- Returns:
- the name of the binding variable
 
 
-