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 Summary
Constructors Constructor Description JandexClassFileInfo(String className, org.jboss.jandex.IndexView index, ComputingCache<org.jboss.jandex.DotName,Set<String>> annotationClassAnnotationsCache, ClassLoader classLoader)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
containsAnnotation(Class<? extends Annotation> annotation)
String
getClassName()
int
getModifiers()
org.jboss.weld.resources.spi.ClassFileInfo.NestingType
getNestingType()
String
getSuperclassName()
boolean
hasCdiConstructor()
boolean
isAnnotationDeclared(Class<? extends Annotation> annotation)
boolean
isAssignableFrom(Class<?> fromClass)
boolean
isAssignableTo(Class<?> toClass)
boolean
isVetoed()
String
toString()
-
-
-
Constructor Detail
-
JandexClassFileInfo
public JandexClassFileInfo(String className, org.jboss.jandex.IndexView index, ComputingCache<org.jboss.jandex.DotName,Set<String>> annotationClassAnnotationsCache, ClassLoader classLoader)
-
-
Method Detail
-
getClassName
public String getClassName()
- Specified by:
getClassName
in interfaceorg.jboss.weld.resources.spi.ClassFileInfo
-
isAnnotationDeclared
public boolean isAnnotationDeclared(Class<? extends Annotation> annotation)
- Specified by:
isAnnotationDeclared
in interfaceorg.jboss.weld.resources.spi.ClassFileInfo
-
containsAnnotation
public boolean containsAnnotation(Class<? extends Annotation> annotation)
- Specified by:
containsAnnotation
in interfaceorg.jboss.weld.resources.spi.ClassFileInfo
-
getModifiers
public int getModifiers()
- Specified by:
getModifiers
in interfaceorg.jboss.weld.resources.spi.ClassFileInfo
-
hasCdiConstructor
public boolean hasCdiConstructor()
- Specified by:
hasCdiConstructor
in interfaceorg.jboss.weld.resources.spi.ClassFileInfo
-
isAssignableFrom
public boolean isAssignableFrom(Class<?> fromClass)
- Specified by:
isAssignableFrom
in interfaceorg.jboss.weld.resources.spi.ClassFileInfo
-
isAssignableTo
public boolean isAssignableTo(Class<?> toClass)
- Specified by:
isAssignableTo
in interfaceorg.jboss.weld.resources.spi.ClassFileInfo
-
isVetoed
public boolean isVetoed()
- Specified by:
isVetoed
in interfaceorg.jboss.weld.resources.spi.ClassFileInfo
-
getNestingType
public org.jboss.weld.resources.spi.ClassFileInfo.NestingType getNestingType()
- Specified by:
getNestingType
in interfaceorg.jboss.weld.resources.spi.ClassFileInfo
-
getSuperclassName
public String getSuperclassName()
- Specified by:
getSuperclassName
in interfaceorg.jboss.weld.resources.spi.ClassFileInfo
-
-