Package org.jboss.as.weld.util
Class Indices
java.lang.Object
org.jboss.as.weld.util.Indices
Utilities for working with Jandex indices.
- Author:
- Jozef Hartinger
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Predicate<org.jboss.jandex.ClassInfo>static final org.jboss.jandex.DotName -
Method Summary
Modifier and TypeMethodDescriptionstatic List<org.jboss.jandex.ClassInfo>getAnnotatedClasses(List<org.jboss.jandex.AnnotationInstance> instances) Determines a list of classes the given annotation instances are defined on.static booleanisAnnotation(org.jboss.jandex.ClassInfo clazz)
-
Field Details
-
INHERITED_NAME
public static final org.jboss.jandex.DotName INHERITED_NAME -
CLASS_INFO_TO_FQCN
-
ANNOTATION_PREDICATE
-
-
Method Details
-
isAnnotation
public static boolean isAnnotation(org.jboss.jandex.ClassInfo clazz) -
getAnnotatedClasses
public static List<org.jboss.jandex.ClassInfo> getAnnotatedClasses(List<org.jboss.jandex.AnnotationInstance> instances) Determines a list of classes the given annotation instances are defined on. If an annotation instance is not defined on a class (e.g. on a member) this annotation instance is not reflected anyhow in the resulting list.
-