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

public Class SimpleElementVisitor9<R, P>

extends SimpleElementVisitor8<R, P>
Class Inheritance
Known Direct Subclasses
javax.lang.model.util.SimpleElementVisitor14
Annotations
@SupportedSourceVersion:RELEASE_14
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, .ModuleElement

A simple visitor of program elements with default behavior appropriate for source versions RELEASE_9 through RELEASE_14. Visit methods corresponding to RELEASE_9 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
9
See Also
<strong>Compatibility note for subclasses</strong>, SimpleElementVisitor6, SimpleElementVisitor7, SimpleElementVisitor8, SimpleElementVisitor14

Constructor Summary

AccessConstructor and Description
protected
SimpleElementVisitor9()

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

protected
SimpleElementVisitor9(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

Constructor Detail

SimpleElementVisitor9back to summary
protected SimpleElementVisitor9()

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

SimpleElementVisitor9back to summary
protected SimpleElementVisitor9(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

visitModuleback to summary
public R visitModule(ModuleElement e, P p)

Overrides javax.lang.model.util.AbstractElementVisitor6.visitModule.

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

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

Visits a module element.

Implementation Specification

Visits a ModuleElement by calling defaultAction.

Annotations
@Override