Top Description Constructors
javax.lang.model.util

public abstract Class AbstractTypeVisitorPreview<R, P>

extends AbstractTypeVisitor14<R, P>
Class Inheritance
Annotations
@SupportedSourceVersion:RELEASE_23
@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, javax.lang.model.SourceVersion

Preview

Language Model preview API.

AbstractTypeVisitorPreview 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 types with default behavior appropriate for a preview source version.
Since
23
See Also
<strong>Expected visitor evolution</strong>, <strong>Compatibility note for subclasses</strong>, AbstractTypeVisitor6, AbstractTypeVisitor7, AbstractTypeVisitor8, AbstractTypeVisitor9, AbstractTypeVisitor14

Constructor Summary

AccessConstructor and Description
protected
AbstractTypeVisitorPreview()

Constructor for concrete subclasses to call.

Constructor Detail

AbstractTypeVisitorPreviewback to summary
protected AbstractTypeVisitorPreview()

Constructor for concrete subclasses to call.