Class WeldClassFileInfo

java.lang.Object
org.jboss.as.weld.discovery.WeldClassFileInfo
All Implemented Interfaces:
org.jboss.weld.resources.spi.ClassFileInfo

public class WeldClassFileInfo extends Object implements org.jboss.weld.resources.spi.ClassFileInfo
Author:
Martin Kouba
  • Constructor Details

    • WeldClassFileInfo

      public WeldClassFileInfo(String className, org.jboss.as.server.deployment.annotation.CompositeIndex index, org.jboss.weld.util.cache.ComputingCache<org.jboss.jandex.DotName,Set<String>> annotationClassAnnotationsCache, ClassLoader classLoader)
      Parameters:
      className -
      index -
      annotationClassAnnotationsCache -
  • 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