Uses of Interface
org.jboss.jandex.Declaration
Packages that use Declaration
Package
Description
Jandex is a space efficient Java class file indexer and offline reflection library.
-
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.Fields in org.jboss.jandex declared as DeclarationModifier and TypeFieldDescriptionprivate final DeclarationAnnotationOverlayImpl.TransformationContextImpl.declarationMethods 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()AnnotationOverlayImpl.TransformationContextImpl.declaration()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.voidMutableAnnotationOverlayImpl.addAnnotation(Declaration declaration, AnnotationInstance annotation) private AnnotationTransformationMutableAnnotationOverlayImpl.addTransformation(Declaration declaration, AnnotationInstance annotation) 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.final AnnotationInstanceAnnotationOverlayImpl.annotation(Declaration declaration, DotName name) AnnotationOverlay.annotations(Declaration declaration) Returns the annotation instances declared on givendeclaration.final Collection<AnnotationInstance> AnnotationOverlayImpl.annotations(Declaration declaration) 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.final Collection<AnnotationInstance> AnnotationOverlayImpl.annotationsWithRepeatable(Declaration declaration, DotName name) (package private) Collection<AnnotationInstance> AnnotationOverlayImpl.getAnnotationsFor(Declaration declaration) (package private) Collection<AnnotationInstance> MutableAnnotationOverlayImpl.getAnnotationsFor(Declaration declaration) (package private) final Collection<AnnotationInstance> AnnotationOverlayImpl.getOriginalAnnotations(Declaration declaration) 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.final booleanAnnotationOverlayImpl.hasAnnotation(Declaration declaration, DotName name) 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.final booleanAnnotationOverlayImpl.hasAnyAnnotation(Declaration declaration, Set<DotName> names) EquivalenceKey.of(Declaration declaration) Returns an equivalence key for given declaration.voidMutableAnnotationOverlay.removeAnnotations(Declaration declaration, Predicate<AnnotationInstance> predicate) Removes all annotations matching givenpredicatefrom givendeclaration.voidMutableAnnotationOverlayImpl.removeAnnotations(Declaration declaration, Predicate<AnnotationInstance> predicate) private AnnotationTransformationMutableAnnotationOverlayImpl.removeTransformation(Declaration declaration, Predicate<AnnotationInstance> predicate) 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.Constructors in org.jboss.jandex with parameters of type DeclarationModifierConstructorDescription(package private)TransformationContextImpl(Declaration declaration, Collection<AnnotationInstance> annotations)