Void
for visitors that do not need to return results.
Void
for visitors that do not need an
additional parameter.
Preview
Language Model preview API.
TypeKindVisitorPreview
is a reflective preview API of the Java platform.
Preview features may be removed in a future release,
or upgraded to permanent features of the Java platform.
Xyz
that may have more than one
kind, the visitXyz
methods in this class delegate
to the visitXyzAsKind
method corresponding to the
first argument's kind. The visitXyzAsKind
methods
call defaultAction
, passing their arguments
to defaultAction
's corresponding parameters.
API Note
Methods in this class may be overridden subject to their general contract.
<strong>Expected visitor evolution</strong>
, <strong>Compatibility note for subclasses</strong>
, TypeKindVisitor6
, TypeKindVisitor7
, TypeKindVisitor8
, TypeKindVisitor9
, TypeKindVisitor14
Access | Constructor and Description |
---|---|
protected | TypeKindVisitorPreview()
Constructor for concrete subclasses to call; uses |
protected | TypeKindVisitorPreview(R
the value to assign to defaultValue)DEFAULT_VALUE Constructor for concrete subclasses to call; uses the argument for the default value. |
TypeKindVisitorPreview | back to summary |
---|---|
protected TypeKindVisitorPreview() Constructor for concrete subclasses to call; uses |
TypeKindVisitorPreview | back to summary |
---|---|
protected TypeKindVisitorPreview(R defaultValue) Constructor for concrete subclasses to call; uses the argument for the default value.
|