Void
for visitors that do not need to return results.
Void
for visitors that do not need an
additional parameter.
RELEASE_7
source version. For types Xyz
that may have more than one
kind, the visitXyz
methods in this class delegate
to the visitXyzAsKind
method corresponding to the
first argument's kind. The visitXyzAsKind
methods
call defaultAction
, passing their arguments
to defaultAction
's corresponding parameters.
API Note
Methods in this class may be overridden subject to their general contract.
<strong>Compatibility note for subclasses</strong>
, TypeKindVisitor6
, TypeKindVisitor8
, TypeKindVisitor9
, TypeKindVisitor14
Access | Constructor and Description |
---|---|
protected | TypeKindVisitor7()
Deprecated
since 12. Release 7 is obsolete; update to a visitor for a newer
release level.
Constructor for concrete subclasses to call; uses |
protected | TypeKindVisitor7(R
the value to assign to defaultValue)DEFAULT_VALUE
Deprecated
since 12. Release 7 is obsolete; update to a visitor for a newer
release level.
Constructor for concrete subclasses to call; uses the argument for the default value. |
Modifier and Type | Method and Description |
---|---|
public R | Returns: the result ofdefaultAction the type to visit t, P a visitor-specified parameter p)Overrides javax. Implements javax. Visits a union type. |
TypeKindVisitor7 | back to summary |
---|---|
protected TypeKindVisitor7()
Deprecated since 12. Release 7 is obsolete; update to a visitor for a newer release level. Constructor for concrete subclasses to call; uses
|
TypeKindVisitor7 | back to summary |
---|---|
protected TypeKindVisitor7(R defaultValue)
Deprecated since 12. Release 7 is obsolete; update to a visitor for a newer release level. Constructor for concrete subclasses to call; uses the argument for the default value.
|
visitUnion | back to summary |
---|---|
public R visitUnion(UnionType t, P p) Overrides javax. Implements javax. Doc from javax. Visits a union type. Implementation Specification This implementation calls |