Uses of Class
org.jboss.jandex.ClassInfo
-
Packages that use ClassInfo Package Description org.jboss.jandex Jandex is a space efficient Java class file indexer and offline reflection library. -
-
Uses of ClassInfo in org.jboss.jandex
Fields in org.jboss.jandex declared as ClassInfo Modifier and Type Field Description private ClassInfo
FieldInfo. clazz
private ClassInfo
FieldInfoGenerator. clazz
private ClassInfo
MethodInfo. clazz
private ClassInfo
MethodInfoGenerator. clazz
private ClassInfo
RecordComponentInfo. clazz
private ClassInfo
RecordComponentInfoGenerator. clazz
private ClassInfo
Indexer. currentClass
private ClassInfo
ModuleInfo. moduleInfoClass
Fields in org.jboss.jandex with type parameters of type ClassInfo Modifier and Type Field Description (package private) java.util.Map<DotName,ClassInfo>
Index. classes
private java.util.Map<DotName,ClassInfo>
Indexer. classes
(package private) java.util.Map<DotName,java.util.Collection<ClassInfo>>
Index. classesInPackage
private static java.util.List<ClassInfo>
Index. EMPTY_CLASSINFO_LIST
private java.util.Map<DotName,java.util.List<ClassInfo>>
Indexer. implementors
private java.util.Map<DotName,java.util.List<ClassInfo>>
Indexer. subclasses
private java.util.Map<DotName,java.util.List<ClassInfo>>
Indexer. subinterfaces
private java.util.Map<DotName,java.util.Set<ClassInfo>>
Indexer. users
Methods in org.jboss.jandex that return ClassInfo Modifier and Type Method Description ClassInfo
AnnotationTarget. asClass()
Casts and returns this target as aClassInfo
if it is of kindCLASS
ClassInfo
ClassInfo. asClass()
ClassInfo
FieldInfo. asClass()
ClassInfo
MethodInfo. asClass()
ClassInfo
MethodParameterInfo. asClass()
ClassInfo
RecordComponentInfo. asClass()
ClassInfo
TypeTarget. asClass()
static ClassInfo
ClassInfo. create(DotName name, DotName superName, short flags, DotName[] interfaces, java.util.Map<DotName,java.util.List<AnnotationInstance>> annotations, boolean hasNoArgsConstructor)
Deprecated.ClassInfo
FieldInfo. declaringClass()
Returns the class which declared the fieldClassInfo
MethodInfo. declaringClass()
Returns the class that declared this methodClassInfo
RecordComponentInfo. declaringClass()
Returns the (record) class declaring this record component.ClassInfo
ClassExtendsTypeTarget. enclosingTarget()
ClassInfo
CompositeIndex. getClassByName(DotName className)
Gets the class (or interface, or annotation) that was scanned during the indexing phase.ClassInfo
EmptyIndex. getClassByName(DotName className)
ClassInfo
Index. getClassByName(DotName className)
Gets the class (or interface, or annotation) that was scanned during the indexing phase.default ClassInfo
IndexView. getClassByName(java.lang.Class<?> clazz)
Gets the class (or interface, or annotation) that was scanned during the indexing phase.default ClassInfo
IndexView. getClassByName(java.lang.String className)
Gets the class (or interface, or annotation) that was scanned during the indexing phase.ClassInfo
IndexView. getClassByName(DotName className)
Gets the class (or interface, or annotation) that was scanned during the indexing phase.ClassInfo
StackedIndex. getClassByName(DotName className)
ClassInfo
Indexer. index$$bridge(java.io.InputStream stream)
ClassInfo
Indexer. indexClass$$bridge(java.lang.Class<?> clazz)
ClassInfo
ModuleInfo. moduleInfoClass()
private ClassInfo
IndexReaderV2. readClassEntry(PackedDataInputStream stream, java.util.Map<DotName,java.util.List<AnnotationInstance>> masterAnnotations)
static ClassInfo
Index. singleClass(byte[] classData)
static ClassInfo
Index. singleClass(java.io.InputStream classData)
static ClassInfo
Index. singleClass(java.lang.Class<?> clazz)
Methods in org.jboss.jandex that return types with arguments of type ClassInfo Modifier and Type Method Description java.util.Set<ClassInfo>
CompositeIndex. getAllKnownImplementors(DotName interfaceName)
Returns all known classes that implement the given interface, directly and indirectly.java.util.Collection<ClassInfo>
EmptyIndex. getAllKnownImplementors(DotName interfaceName)
java.util.Set<ClassInfo>
Index. getAllKnownImplementors(DotName interfaceName)
Returns all known classes that implement the given interface, directly and indirectly.default java.util.Collection<ClassInfo>
IndexView. getAllKnownImplementors(java.lang.Class<?> interfaceClass)
Returns all known classes that implement the given interface, directly and indirectly.default java.util.Collection<ClassInfo>
IndexView. getAllKnownImplementors(java.lang.String interfaceName)
Returns all known classes that implement the given interface, directly and indirectly.java.util.Collection<ClassInfo>
IndexView. getAllKnownImplementors(DotName interfaceName)
Returns all known classes that implement the given interface, directly and indirectly.java.util.Collection<ClassInfo>
StackedIndex. getAllKnownImplementors(DotName interfaceName)
java.util.Set<ClassInfo>
CompositeIndex. getAllKnownSubclasses(DotName className)
Returns all known (including non-direct) subclasses of the given class.java.util.Collection<ClassInfo>
EmptyIndex. getAllKnownSubclasses(DotName className)
java.util.Collection<ClassInfo>
Index. getAllKnownSubclasses(DotName className)
default java.util.Collection<ClassInfo>
IndexView. getAllKnownSubclasses(java.lang.Class<?> clazz)
Returns all known (including non-direct) subclasses of the given class.default java.util.Collection<ClassInfo>
IndexView. getAllKnownSubclasses(java.lang.String className)
Returns all known (including non-direct) subclasses of the given class.java.util.Collection<ClassInfo>
IndexView. getAllKnownSubclasses(DotName className)
Returns all known (including non-direct) subclasses of the given class.java.util.Collection<ClassInfo>
StackedIndex. getAllKnownSubclasses(DotName className)
java.util.Collection<ClassInfo>
CompositeIndex. getAllKnownSubinterfaces(DotName interfaceName)
Returns all known interfaces that extend the given interface, directly and indirectly.java.util.Collection<ClassInfo>
EmptyIndex. getAllKnownSubinterfaces(DotName interfaceName)
java.util.Collection<ClassInfo>
Index. getAllKnownSubinterfaces(DotName interfaceName)
Returns all known interfaces that extend the given interface, directly and indirectly.default java.util.Collection<ClassInfo>
IndexView. getAllKnownSubinterfaces(java.lang.Class<?> interfaceClass)
Returns all known interfaces that extend the given interface, directly and indirectly.default java.util.Collection<ClassInfo>
IndexView. getAllKnownSubinterfaces(java.lang.String interfaceName)
Returns all known interfaces that extend the given interface, directly and indirectly.java.util.Collection<ClassInfo>
IndexView. getAllKnownSubinterfaces(DotName interfaceName)
Returns all known interfaces that extend the given interface, directly and indirectly.java.util.Collection<ClassInfo>
StackedIndex. getAllKnownSubinterfaces(DotName interfaceName)
java.util.Collection<ClassInfo>
CompositeIndex. getClassesInPackage(DotName packageName)
Returns all classes known to this index that are present in given package.java.util.Collection<ClassInfo>
EmptyIndex. getClassesInPackage(DotName packageName)
java.util.Collection<ClassInfo>
Index. getClassesInPackage(DotName packageName)
Returns all classes known to this index that are present in given package.default java.util.Collection<ClassInfo>
IndexView. getClassesInPackage(java.lang.String packageName)
Returns all classes known to this index that are present in given package.java.util.Collection<ClassInfo>
IndexView. getClassesInPackage(DotName packageName)
Returns all classes known to this index that are present in given package.java.util.Collection<ClassInfo>
StackedIndex. getClassesInPackage(DotName packageName)
java.util.Collection<ClassInfo>
CompositeIndex. getKnownClasses()
Gets all known classes by this index (those which were scanned).java.util.Collection<ClassInfo>
EmptyIndex. getKnownClasses()
java.util.Collection<ClassInfo>
Index. getKnownClasses()
Gets all known classes by this index (those which were scanned).java.util.Collection<ClassInfo>
IndexView. getKnownClasses()
Gets all known classes by this index (those which were scanned).java.util.Collection<ClassInfo>
StackedIndex. getKnownClasses()
java.util.Collection<ClassInfo>
CompositeIndex. getKnownDirectImplementors(DotName interfaceName)
Gets all known direct implementors of the specified interface.java.util.Collection<ClassInfo>
EmptyIndex. getKnownDirectImplementors(DotName interfaceName)
java.util.List<ClassInfo>
Index. getKnownDirectImplementors(DotName interfaceName)
Gets all known direct implementors of the specified interface.default java.util.Collection<ClassInfo>
IndexView. getKnownDirectImplementors(java.lang.Class<?> interfaceClass)
Gets all known direct implementors of the specified interface name.default java.util.Collection<ClassInfo>
IndexView. getKnownDirectImplementors(java.lang.String interfaceName)
Gets all known direct implementors of the specified interface name.java.util.Collection<ClassInfo>
IndexView. getKnownDirectImplementors(DotName interfaceName)
Gets all known direct implementors of the specified interface.java.util.Collection<ClassInfo>
StackedIndex. getKnownDirectImplementors(DotName interfaceName)
java.util.Set<ClassInfo>
CompositeIndex. getKnownDirectSubclasses(DotName className)
Gets all known direct subclasses of the specified class.java.util.Collection<ClassInfo>
EmptyIndex. getKnownDirectSubclasses(DotName className)
java.util.List<ClassInfo>
Index. getKnownDirectSubclasses(DotName className)
Gets all known direct subclasses of the specified class.default java.util.Collection<ClassInfo>
IndexView. getKnownDirectSubclasses(java.lang.Class<?> clazz)
Gets all known direct subclasses of the specified class.default java.util.Collection<ClassInfo>
IndexView. getKnownDirectSubclasses(java.lang.String className)
Gets all known direct subclasses of the specified class.java.util.Collection<ClassInfo>
IndexView. getKnownDirectSubclasses(DotName className)
Gets all known direct subclasses of the specified class.java.util.Collection<ClassInfo>
StackedIndex. getKnownDirectSubclasses(DotName className)
java.util.Collection<ClassInfo>
CompositeIndex. getKnownDirectSubinterfaces(DotName interfaceName)
Gets all known direct subinterfaces of the specified interface.java.util.Collection<ClassInfo>
EmptyIndex. getKnownDirectSubinterfaces(DotName interfaceName)
java.util.List<ClassInfo>
Index. getKnownDirectSubinterfaces(DotName interfaceName)
Gets all known direct subinterfaces of the specified interface.default java.util.Collection<ClassInfo>
IndexView. getKnownDirectSubinterfaces(java.lang.Class<?> interfaceClass)
Gets all known direct subinterfaces of the specified interface.default java.util.Collection<ClassInfo>
IndexView. getKnownDirectSubinterfaces(java.lang.String interfaceName)
Gets all known direct subinterfaces of the specified interface.java.util.Collection<ClassInfo>
IndexView. getKnownDirectSubinterfaces(DotName interfaceName)
Gets all known direct subinterfaces of the specified interface.java.util.Collection<ClassInfo>
StackedIndex. getKnownDirectSubinterfaces(DotName interfaceName)
java.util.Collection<ClassInfo>
CompositeIndex. getKnownUsers(DotName className)
Returns a list of classes in this index that use the specified class.java.util.Collection<ClassInfo>
EmptyIndex. getKnownUsers(DotName className)
java.util.List<ClassInfo>
Index. getKnownUsers(DotName className)
Returns a list of classes in this index that use the specified class.default java.util.Collection<ClassInfo>
IndexView. getKnownUsers(java.lang.Class<?> clazz)
Returns a list of classes in this index that use the specified class.default java.util.Collection<ClassInfo>
IndexView. getKnownUsers(java.lang.String className)
Returns a list of classes in this index that use the specified class.java.util.Collection<ClassInfo>
IndexView. getKnownUsers(DotName className)
Returns a list of classes in this index that use the specified class.java.util.Collection<ClassInfo>
StackedIndex. getKnownUsers(DotName className)
Methods in org.jboss.jandex with parameters of type ClassInfo Modifier and Type Method Description AnnotationInstanceBuilder
AnnotationInstanceBuilder. add(java.lang.String name, ClassInfo value)
Adds a class-valued annotation member with givenname
.AnnotationInstanceBuilder
AnnotationInstanceBuilder. add(java.lang.String name, ClassInfo[] values)
Adds a class array-valued annotation member with givenname
.AnnotationInstanceBuilder
AnnotationInstanceBuilder. add(java.lang.String name, ClassInfo enumType, java.lang.String enumValue)
Adds an enum-valued annotation member with givenname
.AnnotationInstanceBuilder
AnnotationInstanceBuilder. add(java.lang.String name, ClassInfo enumType, java.lang.String[] enumValues)
Adds an enum array-valued annotation member with givenname
.private void
IndexWriterV2. addClass(ClassInfo clazz)
private void
IndexReaderV1. addClassToMap(java.util.HashMap<DotName,java.util.List<ClassInfo>> map, DotName name, ClassInfo currentClass)
private void
IndexReaderV2. addClassToMap(java.util.HashMap<DotName,java.util.List<ClassInfo>> map, DotName name, ClassInfo currentClass)
private void
Indexer. addImplementor(DotName interfaceName, ClassInfo currentClass)
private void
Indexer. addSubclass(DotName superName, ClassInfo currentClass)
private void
Indexer. addSubinterface(DotName superName, ClassInfo currentClass)
static AnnotationInstanceBuilder
AnnotationInstance. builder(ClassInfo annotationType)
Creates a builder of annotation instances of givenannotationType
.static FieldInfo
FieldInfo. create(ClassInfo clazz, java.lang.String name, Type type, short flags)
Construct a new mock Field instance.static MethodInfo
MethodInfo. create(ClassInfo clazz, java.lang.String name, java.lang.String[] parameterNames, Type[] parameterTypes, Type returnType, short flags, TypeVariable[] typeParameters, Type[] exceptions)
Construct a new mock Method instance.static MethodInfo
MethodInfo. create(ClassInfo clazz, java.lang.String name, Type[] parameterTypes, Type returnType, short flags)
Construct a new mock Method instance.static MethodInfo
MethodInfo. create(ClassInfo clazz, java.lang.String name, Type[] parameterTypes, Type returnType, short flags, TypeVariable[] typeParameters, Type[] exceptions)
Construct a new mock Method instance.static RecordComponentInfo
RecordComponentInfo. create(ClassInfo clazz, java.lang.String name, Type type)
Constructs a new mock record component infostatic java.lang.Class<?>
JandexReflection. loadClass(ClassInfo clazz)
Loads a class corresponding to givenClassInfo
from the thread context classloader.static EquivalenceKey.ClassEquivalenceKey
EquivalenceKey. of(ClassInfo clazz)
Returns an equivalence key for given class.private void
Indexer. parseClassSignature(java.lang.String signature, ClassInfo clazz)
private void
Indexer. processEnclosingMethod(java.io.DataInputStream data, ClassInfo target)
private void
Indexer. processInnerClasses(java.io.DataInputStream data, ClassInfo target)
private void
Indexer. processModule(java.io.DataInputStream data, ClassInfo target)
private void
Indexer. processModuleMainClass(java.io.DataInputStream data, ClassInfo target)
private void
Indexer. processModulePackages(java.io.DataInputStream data, ClassInfo target)
private void
Indexer. processPermittedSubclasses(java.io.DataInputStream data, ClassInfo target)
private void
IndexReaderV1. readAnnotations(PackedDataInputStream stream, java.util.Map<DotName,java.util.List<AnnotationInstance>> annotations, ClassInfo clazz)
private FieldInternal[]
IndexReaderV2. readClassFields(PackedDataInputStream stream, ClassInfo clazz)
private MethodInternal[]
IndexReaderV2. readClassMethods(PackedDataInputStream stream, ClassInfo clazz)
private RecordComponentInternal[]
IndexReaderV2. readClassRecordComponents(PackedDataInputStream stream, ClassInfo clazz)
private MethodInfo
IndexReaderV1. readMethod(ClassInfo clazz, PackedDataInputStream stream)
private ModuleInfo
IndexReaderV2. readModuleEntry(PackedDataInputStream stream, ClassInfo moduleInfoClass)
(package private) Type
MethodInternal. receiverType(ClassInfo clazz)
(package private) static java.lang.String
GenericSignatureReconstruction. reconstructGenericSignature(ClassInfo clazz, java.util.function.Function<java.lang.String,Type> typeVariableSubstitution)
(package private) static boolean
GenericSignatureReconstruction. requiresGenericSignature(ClassInfo clazz)
(package private) void
FieldInfo. setClassInfo(ClassInfo clazz)
(package private) void
MethodInfo. setClassInfo(ClassInfo clazz)
(package private) void
RecordComponentInfo. setClassInfo(ClassInfo clazz)
java.lang.String
FieldInternal. toString(ClassInfo clazz)
java.lang.String
RecordComponentInternal. toString(ClassInfo clazz)
private void
IndexReaderV2. updateAnnotationTargetInfo(AnnotationInstance[] annotations, ClassInfo clazz)
AnnotationInstanceBuilder
AnnotationInstanceBuilder. value(ClassInfo value)
Adds a class-valued annotation member calledvalue
.AnnotationInstanceBuilder
AnnotationInstanceBuilder. value(ClassInfo[] values)
Adds a class array-valued annotation member calledvalue
.AnnotationInstanceBuilder
AnnotationInstanceBuilder. value(ClassInfo enumType, java.lang.String enumValue)
Adds an enum-valued annotation member calledvalue
.AnnotationInstanceBuilder
AnnotationInstanceBuilder. value(ClassInfo enumType, java.lang.String[] enumValues)
Adds an enum array-valued annotation member calledvalue
.private void
IndexWriterV2. writeClassEntry(PackedDataOutputStream stream, ClassInfo clazz)
private void
IndexWriterV2. writeUsersSet(PackedDataOutputStream stream, DotName user, ClassInfo[] uses)
Method parameters in org.jboss.jandex with type arguments of type ClassInfo Modifier and Type Method Description private void
IndexReaderV1. addClassToMap(java.util.HashMap<DotName,java.util.List<ClassInfo>> map, DotName name, ClassInfo currentClass)
private void
IndexReaderV2. addClassToMap(java.util.HashMap<DotName,java.util.List<ClassInfo>> map, DotName name, ClassInfo currentClass)
private void
CompositeIndex. getAllKnownSubClasses(DotName className, java.util.Set<ClassInfo> allKnown, java.util.Set<DotName> processedClasses)
private void
CompositeIndex. getAllKnownSubClasses(DotName name, java.util.Set<ClassInfo> allKnown, java.util.Set<DotName> subClassesToProcess, java.util.Set<DotName> processedClasses)
private void
Index. getAllKnownSubClasses(DotName className, java.util.Set<ClassInfo> allKnown, java.util.Set<DotName> processedClasses)
private void
Index. getAllKnownSubClasses(DotName name, java.util.Set<ClassInfo> allKnown, java.util.Set<DotName> subClassesToProcess, java.util.Set<DotName> processedClasses)
private void
CompositeIndex. getKnownImplementors(DotName name, java.util.Set<ClassInfo> allKnown, java.util.Set<DotName> subInterfacesToProcess, java.util.Set<DotName> processedClasses)
private void
Index. getKnownImplementors(DotName name, java.util.Set<ClassInfo> allKnown, java.util.Set<DotName> subInterfacesToProcess, java.util.Set<DotName> processedClasses)
AnnotationTransformation.ClassBuilder
AnnotationTransformation.ClassBuilder. whenClass(java.util.function.Predicate<ClassInfo> predicate)
Adds a predicate that tests whether the current class matches givenpredicate
.Constructors in org.jboss.jandex with parameters of type ClassInfo Constructor Description ClassExtendsTypeTarget(ClassInfo enclosingTarget, int position)
FieldInfo(ClassInfo clazz, byte[] name, Type type, short flags)
FieldInfo(ClassInfo clazz, FieldInternal internal)
FieldInfoGenerator(ClassInfo clazz, FieldInternal[] fields, byte[] positions)
MethodInfo(ClassInfo clazz, byte[] name, byte[][] parameterNames, Type[] parameterTypes, Type returnType, short flags)
MethodInfo(ClassInfo clazz, byte[] name, byte[][] parameterNames, Type[] parameterTypes, Type returnType, short flags, Type[] typeParameters, Type[] exceptions)
MethodInfo(ClassInfo clazz, MethodInternal methodInternal)
MethodInfoGenerator(ClassInfo clazz, MethodInternal[] methods, byte[] positions)
ModuleInfo(ClassInfo moduleInfoClass, DotName name, short flags, java.lang.String version)
RecordComponentInfo(ClassInfo clazz, byte[] name, Type type)
RecordComponentInfo(ClassInfo clazz, RecordComponentInternal internal)
RecordComponentInfoGenerator(ClassInfo clazz, RecordComponentInternal[] recordComponents, byte[] positions)
-