Uses of Interface
org.jboss.jandex.Declaration
-
Uses of Declaration in org.jboss.jandex
Classes in org.jboss.jandex that implement DeclarationModifier and TypeClassDescriptionfinal classRepresents a class entry in an index.final classRepresents a field.final classRepresents a Java method, constructor, or static initializer.final classRepresents an individual Java method parameter that was annotated.final classRepresents an individual Java record component that was annotated.Methods in org.jboss.jandex that return DeclarationModifier and TypeMethodDescriptionAnnotationTarget.asDeclaration()Casts and returns this annotation target as aDeclarationif it is a declaration.default DeclarationDeclaration.asDeclaration()TypeTarget.asDeclaration()AnnotationTransformation.TransformationContext.declaration()Returns the declaration that is being transformed.Methods in org.jboss.jandex with parameters of type DeclarationModifier and TypeMethodDescriptionvoidMutableAnnotationOverlay.addAnnotation(Declaration declaration, AnnotationInstance annotation) Adds given annotation instance to givendeclaration.default AnnotationInstanceAnnotationOverlay.annotation(Declaration declaration, Class<? extends Annotation> clazz) Returns the annotation instance of givenclazzdeclared on givendeclaration.AnnotationOverlay.annotation(Declaration declaration, DotName name) Returns the annotation instance with givennamedeclared on givendeclaration.AnnotationOverlay.annotations(Declaration declaration) Returns the annotation instances declared on givendeclaration.default Collection<AnnotationInstance>AnnotationOverlay.annotationsWithRepeatable(Declaration declaration, Class<? extends Annotation> clazz) Returns the annotation instances of given type (clazz) declared on givendeclaration.AnnotationOverlay.annotationsWithRepeatable(Declaration declaration, DotName name) Returns the annotation instances with givennamedeclared on givendeclaration.default booleanAnnotationOverlay.hasAnnotation(Declaration declaration, Class<? extends Annotation> clazz) Returns whether an annotation instance of givenclazzis declared on givendeclaration.booleanAnnotationOverlay.hasAnnotation(Declaration declaration, DotName name) Returns whether an annotation instance with givennameis declared on givendeclaration.default booleanAnnotationOverlay.hasAnyAnnotation(Declaration declaration, Class<? extends Annotation>... classes) Returns whether any annotation instance of one of givenclassesis declared on givendeclaration.booleanAnnotationOverlay.hasAnyAnnotation(Declaration declaration, Set<DotName> names) Returns whether any annotation instance with one of givennamesis declared on givendeclaration.EquivalenceKey.of(Declaration declaration) Returns an equivalence key for givendeclaration.voidMutableAnnotationOverlay.removeAnnotations(Declaration declaration, Predicate<AnnotationInstance> predicate) Removes all annotations matching givenpredicatefrom givendeclaration.Method parameters in org.jboss.jandex with type arguments of type DeclarationModifier and TypeMethodDescriptionAnnotationTransformation.DeclarationBuilder.whenDeclaration(Predicate<Declaration> predicate) Adds a predicate that tests whether the current declaration matches givenpredicate.