public abstract class PositionBasedTypeTarget extends TypeTarget
ClassExtendsTypeTarget,
TypeParameterTypeTarget,
TypeParameterBoundTypeTarget,
ThrowsTypeTargetTypeTarget.UsageAnnotationTarget.Kind| Modifier and Type | Field and Description |
|---|---|
private int |
position |
| Constructor and Description |
|---|
PositionBasedTypeTarget(AnnotationTarget enclosingTarget,
int position) |
PositionBasedTypeTarget(AnnotationTarget enclosingTarget,
Type target,
int position) |
| Modifier and Type | Method and Description |
|---|---|
int |
position()
Returns a subclass specific position where the type is located.
|
asClass, asClassExtends, asEmpty, asField, asMethod, asMethodParameter, asMethodParameterType, asThrows, asType, asTypeParameter, asTypeParameterBound, enclosingTarget, kind, setTarget, target, usagePositionBasedTypeTarget(AnnotationTarget enclosingTarget, int position)
PositionBasedTypeTarget(AnnotationTarget enclosingTarget, Type target, int position)