Class SimpleTypeTarget
java.lang.Object
io.smallrye.openapi.internal.support.SimpleTypeTarget
- All Implemented Interfaces:
org.jboss.jandex.AnnotationTarget
Simple wrapper type that may be used to allow a Type to be accessed like
an AnnotationTarget.
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.jboss.jandex.AnnotationTarget
org.jboss.jandex.AnnotationTarget.Kind -
Method Summary
Modifier and TypeMethodDescriptionorg.jboss.jandex.AnnotationInstanceannotation(org.jboss.jandex.DotName name) Collection<org.jboss.jandex.AnnotationInstance> Collection<org.jboss.jandex.AnnotationInstance> annotations(org.jboss.jandex.DotName name) Collection<org.jboss.jandex.AnnotationInstance> annotationsWithRepeatable(org.jboss.jandex.DotName name, org.jboss.jandex.IndexView index) org.jboss.jandex.ClassInfoasClass()org.jboss.jandex.Declarationorg.jboss.jandex.FieldInfoasField()org.jboss.jandex.MethodInfoasMethod()org.jboss.jandex.MethodParameterInfoorg.jboss.jandex.RecordComponentInfoorg.jboss.jandex.TypeTargetasType()static final SimpleTypeTargetcreate(org.jboss.jandex.Type type) org.jboss.jandex.AnnotationInstancedeclaredAnnotation(org.jboss.jandex.DotName name) Collection<org.jboss.jandex.AnnotationInstance> Collection<org.jboss.jandex.AnnotationInstance> declaredAnnotationsWithRepeatable(org.jboss.jandex.DotName name, org.jboss.jandex.IndexView index) booleanhasAnnotation(org.jboss.jandex.DotName name) booleanhasDeclaredAnnotation(org.jboss.jandex.DotName name) booleanorg.jboss.jandex.AnnotationTarget.Kindkind()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.jboss.jandex.AnnotationTarget
annotation, annotation, annotations, annotations, annotationsWithRepeatable, annotationsWithRepeatable, declaredAnnotation, declaredAnnotation, declaredAnnotationsWithRepeatable, declaredAnnotationsWithRepeatable, hasAnnotation, hasAnnotation, hasDeclaredAnnotation, hasDeclaredAnnotation
-
Method Details
-
create
-
kind
public org.jboss.jandex.AnnotationTarget.Kind kind()- Specified by:
kindin interfaceorg.jboss.jandex.AnnotationTarget
-
isDeclaration
public boolean isDeclaration()- Specified by:
isDeclarationin interfaceorg.jboss.jandex.AnnotationTarget
-
asDeclaration
public org.jboss.jandex.Declaration asDeclaration()- Specified by:
asDeclarationin interfaceorg.jboss.jandex.AnnotationTarget
-
asClass
public org.jboss.jandex.ClassInfo asClass()- Specified by:
asClassin interfaceorg.jboss.jandex.AnnotationTarget
-
asField
public org.jboss.jandex.FieldInfo asField()- Specified by:
asFieldin interfaceorg.jboss.jandex.AnnotationTarget
-
asMethod
public org.jboss.jandex.MethodInfo asMethod()- Specified by:
asMethodin interfaceorg.jboss.jandex.AnnotationTarget
-
asMethodParameter
public org.jboss.jandex.MethodParameterInfo asMethodParameter()- Specified by:
asMethodParameterin interfaceorg.jboss.jandex.AnnotationTarget
-
asType
public org.jboss.jandex.TypeTarget asType()- Specified by:
asTypein interfaceorg.jboss.jandex.AnnotationTarget
-
asRecordComponent
public org.jboss.jandex.RecordComponentInfo asRecordComponent()- Specified by:
asRecordComponentin interfaceorg.jboss.jandex.AnnotationTarget
-
hasAnnotation
public boolean hasAnnotation(org.jboss.jandex.DotName name) - Specified by:
hasAnnotationin interfaceorg.jboss.jandex.AnnotationTarget
-
annotation
public org.jboss.jandex.AnnotationInstance annotation(org.jboss.jandex.DotName name) - Specified by:
annotationin interfaceorg.jboss.jandex.AnnotationTarget
-
annotations
- Specified by:
annotationsin interfaceorg.jboss.jandex.AnnotationTarget
-
annotationsWithRepeatable
public Collection<org.jboss.jandex.AnnotationInstance> annotationsWithRepeatable(org.jboss.jandex.DotName name, org.jboss.jandex.IndexView index) - Specified by:
annotationsWithRepeatablein interfaceorg.jboss.jandex.AnnotationTarget
-
annotations
- Specified by:
annotationsin interfaceorg.jboss.jandex.AnnotationTarget
-
hasDeclaredAnnotation
public boolean hasDeclaredAnnotation(org.jboss.jandex.DotName name) - Specified by:
hasDeclaredAnnotationin interfaceorg.jboss.jandex.AnnotationTarget
-
declaredAnnotation
public org.jboss.jandex.AnnotationInstance declaredAnnotation(org.jboss.jandex.DotName name) - Specified by:
declaredAnnotationin interfaceorg.jboss.jandex.AnnotationTarget
-
declaredAnnotationsWithRepeatable
public Collection<org.jboss.jandex.AnnotationInstance> declaredAnnotationsWithRepeatable(org.jboss.jandex.DotName name, org.jboss.jandex.IndexView index) - Specified by:
declaredAnnotationsWithRepeatablein interfaceorg.jboss.jandex.AnnotationTarget
-
declaredAnnotations
- Specified by:
declaredAnnotationsin interfaceorg.jboss.jandex.AnnotationTarget
-