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

public Class SimpleTypeVisitor7<R, P>

extends SimpleTypeVisitor6<R, P>
Class Inheritance
Known Direct Subclasses
javax.lang.model.util.SimpleTypeVisitor8
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.type.*, javax.annotation.processing.SupportedSourceVersion, javax.lang.model.SourceVersion

A simple visitor of types 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>, SimpleTypeVisitor6, SimpleTypeVisitor8, SimpleTypeVisitor9, SimpleTypeVisitor14

Field Summary

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

Constructor Summary

AccessConstructor and Description
protected
SimpleTypeVisitor7()
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
SimpleTypeVisitor7(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

Returns:

the result of defaultAction
visitUnion
(UnionType t, P p)

Overrides javax.lang.model.util.AbstractTypeVisitor6.visitUnion.

Implements javax.lang.model.type.TypeVisitor.visitUnion.

Visits a union type.

Inherited from javax.lang.model.util.SimpleTypeVisitor6:
defaultActionvisitArrayvisitDeclaredvisitErrorvisitExecutablevisitNoTypevisitNullvisitPrimitivevisitTypeVariablevisitWildcard

Constructor Detail

SimpleTypeVisitor7back to summary
protected SimpleTypeVisitor7()

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
SimpleTypeVisitor7back to summary
protected SimpleTypeVisitor7(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

visitUnionback to summary
public R visitUnion(UnionType t, P p)

Overrides javax.lang.model.util.AbstractTypeVisitor6.visitUnion.

Implements javax.lang.model.type.TypeVisitor.visitUnion.

Doc from javax.lang.model.type.TypeVisitor.visitUnion.

Visits a union type.

Implementation Specification

This implementation calls defaultAction.

Returns:R

the result of defaultAction

Annotations
@Override