APIdia Launch Partner
Top Description Constructors Methods
javax.lang.model.util

public abstract Class AbstractElementVisitorPreview<R, P>

extends AbstractElementVisitor14<R, P>
Class Inheritance
Annotations
@SupportedSourceVersion:RELEASE_27
@PreviewFeature
feature:LANGUAGE_MODEL
reflective:true
Type Parameters
<R>
the return type of this visitor's methods. Use Void for visitors that do not need to return results.
<P>
the type of the additional parameter to this visitor's methods. Use Void for visitors that do not need an additional parameter.
Imports
jdk.internal.javac.PreviewFeature, javax.annotation.processing.SupportedSourceVersion, .ProcessingEnvironment

Preview

Language Model preview API.

AbstractElementVisitorPreview 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.

A skeletal visitor of program elements with default behavior appropriate for a preview source version.
Since
23
See Also
<strong>Expected visitor evolution</strong>, <strong>Compatibility note for subclasses</strong>, AbstractElementVisitor6, AbstractElementVisitor7, AbstractElementVisitor8, AbstractElementVisitor9, AbstractElementVisitor14

Constructor Summary

AccessConstructor and Description
protected
AbstractElementVisitorPreview()

Constructor for concrete subclasses to call.

Method Summary

Inherited from javax.lang.model.util.AbstractElementVisitor14:
visitRecordComponent

Constructor Detail

AbstractElementVisitorPreviewback to summary
protected AbstractElementVisitorPreview()

Constructor for concrete subclasses to call.