Package org.jboss.jandex
Class PositionBasedTypeTarget
- java.lang.Object
-
- org.jboss.jandex.TypeTarget
-
- org.jboss.jandex.PositionBasedTypeTarget
-
- All Implemented Interfaces:
AnnotationTarget
- Direct Known Subclasses:
ClassExtendsTypeTarget
,MethodParameterTypeTarget
,ThrowsTypeTarget
,TypeParameterTypeTarget
public abstract class PositionBasedTypeTarget extends TypeTarget
A common parent for type targets which provide a position. Refer to the subclass for information on the meaning of the position value.- Since:
- 2.0
- See Also:
ClassExtendsTypeTarget
,MethodParameterTypeTarget
,TypeParameterTypeTarget
,TypeParameterBoundTypeTarget
,ThrowsTypeTarget
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.jboss.jandex.TypeTarget
TypeTarget.Usage
-
Nested classes/interfaces inherited from interface org.jboss.jandex.AnnotationTarget
AnnotationTarget.Kind
-
-
Field Summary
Fields Modifier and Type Field Description private short
position
-
Constructor Summary
Constructors Constructor Description PositionBasedTypeTarget(AnnotationTarget enclosingTarget, int position)
PositionBasedTypeTarget(AnnotationTarget enclosingTarget, Type target, int position)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
position()
Returns a subclass specific position where the type is located.-
Methods inherited from class org.jboss.jandex.TypeTarget
annotation, annotations, annotations, annotationsWithRepeatable, asClass, asClassExtends, asDeclaration, asEmpty, asField, asMethod, asMethodParameter, asMethodParameterType, asRecordComponent, asThrows, asType, asTypeParameter, asTypeParameterBound, declaredAnnotation, declaredAnnotations, declaredAnnotationsWithRepeatable, enclosingTarget, hasAnnotation, hasDeclaredAnnotation, isDeclaration, kind, setTarget, target, usage
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.jboss.jandex.AnnotationTarget
annotation, annotation, annotations, annotations, annotationsWithRepeatable, annotationsWithRepeatable, declaredAnnotation, declaredAnnotation, declaredAnnotationsWithRepeatable, declaredAnnotationsWithRepeatable, hasAnnotation, hasAnnotation, hasDeclaredAnnotation, hasDeclaredAnnotation
-
-
-
-
Constructor Detail
-
PositionBasedTypeTarget
PositionBasedTypeTarget(AnnotationTarget enclosingTarget, int position)
-
PositionBasedTypeTarget
PositionBasedTypeTarget(AnnotationTarget enclosingTarget, Type target, int position)
-
-