Package org.jboss.as.weld.util
Class Indices
- java.lang.Object
-
- org.jboss.as.weld.util.Indices
-
public class Indices extends Object
Utilities for working with Jandex indices.- Author:
- Jozef Hartinger
-
-
Field Summary
Fields Modifier and Type Field Description static Predicate<org.jboss.jandex.ClassInfo>
ANNOTATION_PREDICATE
static Function<org.jboss.jandex.ClassInfo,String>
CLASS_INFO_TO_FQCN
static org.jboss.jandex.DotName
INHERITED_NAME
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description 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.static boolean
isAnnotation(org.jboss.jandex.ClassInfo clazz)
-
-
-
Method Detail
-
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.
-
-