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.
ElementKindVisitorPreview 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>, ElementKindVisitor6, ElementKindVisitor7, ElementKindVisitor8, ElementKindVisitor9, ElementKindVisitor14
| Access | Constructor and Description |
|---|---|
| protected | |
| protected | ElementKindVisitorPreview(R
the value to assign to defaultValue)DEFAULT_VALUEConstructor for concrete subclasses; uses the argument for the default value. |
| ElementKindVisitorPreview | back to summary |
|---|---|
| protected ElementKindVisitorPreview() Constructor for concrete subclasses; uses | |
| ElementKindVisitorPreview | back to summary |
|---|---|
| protected ElementKindVisitorPreview(R defaultValue) Constructor for concrete subclasses; uses the argument for the default value.
| |