Top Description Fields Constructors Methods
org.jboss.jandex

public abstract Class PositionBasedTypeTarget

extends TypeTarget
Class Inheritance
Known Direct Subclasses
org.jboss.jandex.ThrowsTypeTarget, org.jboss.jandex.TypeParameterTypeTarget, org.jboss.jandex.ClassExtendsTypeTarget, org.jboss.jandex.MethodParameterTypeTarget

A common parent for type targets which provide a position. Refer to the subclass for information on the meaning of the position value.
Author
Jason T. Greene
Since
2.0
See Also
org.jboss.jandex.ClassExtendsTypeTarget, org.jboss.jandex.MethodParameterTypeTarget, org.jboss.jandex.TypeParameterTypeTarget, org.jboss.jandex.TypeParameterBoundTypeTarget, org.jboss.jandex.ThrowsTypeTarget

Field Summary

Modifier and TypeField and Description
private final short

Constructor Summary

AccessConstructor and Description
pack-priv
PositionBasedTypeTarget(AnnotationTarget enclosingTarget, int position)

pack-priv
PositionBasedTypeTarget(AnnotationTarget enclosingTarget, Type target, int position)

Method Summary

Modifier and TypeMethod and Description
public final int

Returns:

the position
position
()

Returns a subclass specific position where the type is located.

Inherited from org.jboss.jandex.TypeTarget:
annotationannotationsannotationsannotationsWithRepeatableasClassasClassExtendsasDeclarationasEmptyasFieldasMethodasMethodParameterasMethodParameterTypeasRecordComponentasThrowsasTypeasTypeParameterasTypeParameterBounddeclaredAnnotationdeclaredAnnotationsdeclaredAnnotationsWithRepeatableenclosingTargethasAnnotationhasDeclaredAnnotationisDeclarationkindsetTargettargetusage

Field Detail

positionback to summary
private final short position

Constructor Detail

PositionBasedTypeTargetback to summary
pack-priv PositionBasedTypeTarget(AnnotationTarget enclosingTarget, int position)
PositionBasedTypeTargetback to summary
pack-priv PositionBasedTypeTarget(AnnotationTarget enclosingTarget, Type target, int position)

Method Detail

positionback to summary
public final int position()

Returns a subclass specific position where the type is located.

Returns:int

the position