Interfaces
A tree node used as the base class for the different kinds of
statements.
Represents a record component.
Classes
This is the common base class of all Java language record classes.
A RecordComponent
provides information about, and dynamic access to, a
component of a record class.
A skeletal visitor of program elements with default behavior
appropriate for the
RELEASE_14
source version.
A visitor of program elements based on their
kind with default behavior appropriate for the
RELEASE_14
source version.
A scanning visitor of program elements with default behavior
appropriate for the
RELEASE_14
source version.
A simple visitor of program elements with default behavior
appropriate for the
RELEASE_14
source version.
Methods
Returns the subclasses permitted by this type declaration.
Returns the tested pattern, or null if this instanceof does not use
a pattern.
Visits an BindingPattern node.
Returns an array of RecordComponent
objects representing all the
record components of this record class, or null
if this class is
not a record class.
Returns true
if and only if this class is a record class.
Returns true
if and only if this Class
object represents a sealed class or interface.
Returns an array containing ClassDesc
objects representing all the
direct subclasses or direct implementation classes permitted to extend or
implement this class or interface if it is sealed.
Visits a record component element.
Returns the permitted classes of this type element in
declaration order.
Returns the record components of this type element in
declaration order.
Returns a list of record components in elements
.
Returns a set of record components in elements
.
Visits a RECORD
type element.
Returns the record component for the given accessor.
Enum Constants
Used for instances of
ClassTree
representing records.
A binding variable in a pattern .
A record component of a record
.
Java SE 16 & JDK 16 DRAFT 16-internal+0-adhoc.jlahoda.jdk
Report a bug or suggest an enhancement For further API reference and developer documentation see the Java SE Documentation , which contains more detailed, developer-targeted descriptions with conceptual overviews, definitions of terms, workarounds, and working code examples. Java is a trademark or registered trademark of Oracle and/or its affiliates in the US and other countries. Copyright © 1993, 2020, Oracle and/or its affiliates, 500 Oracle Parkway, Redwood Shores, CA 94065 USA. All rights reserved. Use is subject to license terms and the documentation redistribution policy . DRAFT 16-internal+0-adhoc.jlahoda.jdk