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

public Class SimpleElementVisitor14<R, P>

extends SimpleElementVisitor9<R, P>
Class Inheritance
Known Direct Subclasses
javax.lang.model.util.SimpleElementVisitorPreview
Annotations
@SupportedSourceVersion:RELEASE_27
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
javax.annotation.processing.SupportedSourceVersion, javax.lang.model.SourceVersion, javax.lang.model.element.ElementVisitor, .RecordComponentElement

A simple visitor of program elements with default behavior appropriate for the RELEASE_14 source version. Visit methods corresponding to RELEASE_14 and earlier language constructs call defaultAction, passing their arguments to defaultAction's corresponding parameters.

API Note

Methods in this class may be overridden subject to their general contract.

Since
16
See Also
<strong>Compatibility note for subclasses</strong>, SimpleElementVisitor6, SimpleElementVisitor7, SimpleElementVisitor8, SimpleElementVisitor9

Constructor Summary

AccessConstructor and Description
protected
SimpleElementVisitor14()

Constructor for concrete subclasses; uses null for the default value.

protected
SimpleElementVisitor14(R
the value to assign to DEFAULT_VALUE
defaultValue
)

Constructor for concrete subclasses; uses the argument for the default value.

Method Summary

Modifier and TypeMethod and Description
public R
Inherited from javax.lang.model.util.SimpleElementVisitor9:
visitModule

Constructor Detail

SimpleElementVisitor14back to summary
protected SimpleElementVisitor14()

Constructor for concrete subclasses; uses null for the default value.

SimpleElementVisitor14back to summary
protected SimpleElementVisitor14(R defaultValue)

Constructor for concrete subclasses; uses the argument for the default value.

Parameters
defaultValue:R

the value to assign to DEFAULT_VALUE

Method Detail

visitRecordComponentback to summary
public R visitRecordComponent(RecordComponentElement e, P p)

Overrides javax.lang.model.util.AbstractElementVisitor6.visitRecordComponent.

Overrides default javax.lang.model.element.ElementVisitor.visitRecordComponent.

Doc from javax.lang.model.element.ElementVisitor.visitRecordComponent.

Visits a record component element.

Implementation Specification

Visits a RecordComponentElement by calling defaultAction.

Annotations
@Override