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

public Class SimpleElementVisitor7<R, P>

extends SimpleElementVisitor6<R, P>
Class Inheritance
Known Direct Subclasses
javax.lang.model.util.SimpleElementVisitor8
Annotations
@SupportedSourceVersion:RELEASE_7
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.lang.model.element.*, javax.annotation.processing.SupportedSourceVersion, javax.lang.model.SourceVersion

A simple visitor of program elements with default behavior appropriate for the RELEASE_7 source version. Visit methods corresponding to RELEASE_7 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
1.7
See Also
<strong>Compatibility note for subclasses</strong>, SimpleElementVisitor6, SimpleElementVisitor8, SimpleElementVisitor9, SimpleElementVisitor14

Field Summary

Inherited from javax.lang.model.util.SimpleElementVisitor6:
DEFAULT_VALUE

Constructor Summary

AccessConstructor and Description
protected
SimpleElementVisitor7()
Deprecated since 12. Release 7 is obsolete; update to a visitor for a newer release level.

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

protected
SimpleElementVisitor7(R
the value to assign to DEFAULT_VALUE
defaultValue
)
Deprecated since 12. Release 7 is obsolete; update to a visitor for a newer release level.

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.SimpleElementVisitor6:
defaultActionvisitExecutablevisitPackagevisitTypevisitTypeParameter

Constructor Detail

SimpleElementVisitor7back to summary
protected SimpleElementVisitor7()

Deprecated

since 12.

Release 7 is obsolete; update to a visitor for a newer release level.

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

Annotations
@Deprecated
since:12
SimpleElementVisitor7back to summary
protected SimpleElementVisitor7(R defaultValue)

Deprecated

since 12.

Release 7 is obsolete; update to a visitor for a newer release level.

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

Parameters
defaultValue:R

the value to assign to DEFAULT_VALUE

Annotations
@Deprecated
since:12

Method Detail

visitVariableback to summary
public R visitVariable(VariableElement e, P p)

Overrides javax.lang.model.util.SimpleElementVisitor6.visitVariable.

Implements javax.lang.model.element.ElementVisitor.visitVariable.

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

Visits a variable element.

Implementation Specification

This implementation calls defaultAction.

Annotations
@Override