JavaScript is disabled on your browser.
This specification is not final and is subject to change. Use is subject to
license terms
.
Skip navigation links
Overview
Class
Use
Tree
Preview
New
Deprecated
Index
Search
Help
Java SE 24 & JDK 24
DRAFT 24-internal-adhoc.hwallnoe.jdk-hns
Contents
Hide sidebar
❮
❯
Show sidebar
Description
Nested Class Summary
Method Summary
jdk.compiler
com.sun.source.tree
AnyPatternTree
Contents
Hide sidebar
❮
❯
Show sidebar
Description
Nested Class Summary
Method Summary
Interface AnyPatternTree
All Superinterfaces:
PatternTree
,
Tree
public interface
AnyPatternTree
extends
PatternTree
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. For example the use of underscore
_
below:
if (r instanceof R(_)) {}
See
Java Language Specification
:
14.30.1 Kinds of Patterns
Since:
22
Nested Class Summary
Nested classes/interfaces declared in interface com.sun.source.tree.
Tree
Tree.Kind
Method Summary
Methods declared in interface com.sun.source.tree.
Tree
accept
,
getKind