Class JandexClassFileInfo

java.lang.Object
org.jboss.weld.environment.deployment.discovery.jandex.JandexClassFileInfo
All Implemented Interfaces:
org.jboss.weld.resources.spi.ClassFileInfo

public class JandexClassFileInfo extends Object implements org.jboss.weld.resources.spi.ClassFileInfo
A Java class representation backed by Jandex.
Author:
Martin Kouba, Matej Briškár
  • Constructor Details

    • JandexClassFileInfo

      public JandexClassFileInfo(String className, org.jboss.jandex.IndexView index, ComputingCache<org.jboss.jandex.DotName,Set<String>> annotationClassAnnotationsCache, ClassLoader classLoader)
  • Method Details

    • getClassName

      public String getClassName()
      Specified by:
      getClassName in interface org.jboss.weld.resources.spi.ClassFileInfo
    • isAnnotationDeclared

      public boolean isAnnotationDeclared(Class<? extends Annotation> annotation)
      Specified by:
      isAnnotationDeclared in interface org.jboss.weld.resources.spi.ClassFileInfo
    • containsAnnotation

      public boolean containsAnnotation(Class<? extends Annotation> annotation)
      Specified by:
      containsAnnotation in interface org.jboss.weld.resources.spi.ClassFileInfo
    • getModifiers

      public int getModifiers()
      Specified by:
      getModifiers in interface org.jboss.weld.resources.spi.ClassFileInfo
    • hasCdiConstructor

      public boolean hasCdiConstructor()
      Specified by:
      hasCdiConstructor in interface org.jboss.weld.resources.spi.ClassFileInfo
    • isAssignableFrom

      public boolean isAssignableFrom(Class<?> fromClass)
      Specified by:
      isAssignableFrom in interface org.jboss.weld.resources.spi.ClassFileInfo
    • isAssignableTo

      public boolean isAssignableTo(Class<?> toClass)
      Specified by:
      isAssignableTo in interface org.jboss.weld.resources.spi.ClassFileInfo
    • isVetoed

      public boolean isVetoed()
      Specified by:
      isVetoed in interface org.jboss.weld.resources.spi.ClassFileInfo
    • getNestingType

      public org.jboss.weld.resources.spi.ClassFileInfo.NestingType getNestingType()
      Specified by:
      getNestingType in interface org.jboss.weld.resources.spi.ClassFileInfo
    • getSuperclassName

      public String getSuperclassName()
      Specified by:
      getSuperclassName in interface org.jboss.weld.resources.spi.ClassFileInfo
    • toString

      public String toString()
      Overrides:
      toString in class Object