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 Details

    • INHERITED_NAME

      public static final org.jboss.jandex.DotName INHERITED_NAME
    • CLASS_INFO_TO_FQCN

      public static final Function<org.jboss.jandex.ClassInfo,String> CLASS_INFO_TO_FQCN
    • ANNOTATION_PREDICATE

      public static final Predicate<org.jboss.jandex.ClassInfo> 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.