Uses of Class
org.jboss.jandex.ClassInfo
-
Uses of ClassInfo in org.jboss.jandex
Fields in org.jboss.jandex declared as ClassInfoModifier and TypeFieldDescriptionprivate ClassInfo
FieldInfo.clazz
private final ClassInfo
FieldInfoGenerator.clazz
private ClassInfo
MethodInfo.clazz
private final ClassInfo
MethodInfoGenerator.clazz
private ClassInfo
RecordComponentInfo.clazz
private final ClassInfo
RecordComponentInfoGenerator.clazz
private ClassInfo
Indexer.currentClass
private final ClassInfo
ModuleInfo.moduleInfoClass
Fields in org.jboss.jandex with type parameters of type ClassInfoModifier and TypeFieldDescriptionIndex.classes
Indexer.classes
Index.EMPTY_CLASSINFO_LIST
Index.implementors
Indexer.implementors
Index.subclasses
Indexer.subclasses
Index.users
Indexer.users
Methods in org.jboss.jandex that return ClassInfoModifier and TypeMethodDescriptionAnnotationTarget.asClass()
Casts and returns this target as aClassInfo
if it is of kindCLASS
ClassInfo.asClass()
final ClassInfo
FieldInfo.asClass()
final ClassInfo
MethodInfo.asClass()
final ClassInfo
MethodParameterInfo.asClass()
final ClassInfo
RecordComponentInfo.asClass()
final ClassInfo
TypeTarget.asClass()
static ClassInfo
ClassInfo.create
(DotName name, DotName superName, short flags, DotName[] interfaces, Map<DotName, List<AnnotationInstance>> annotations, boolean hasNoArgsConstructor) Deprecated.final ClassInfo
FieldInfo.declaringClass()
Returns the class which declared the fieldfinal ClassInfo
MethodInfo.declaringClass()
Returns the class that declared this methodfinal ClassInfo
RecordComponentInfo.declaringClass()
Returns the (record) class declaring this record component.ClassExtendsTypeTarget.enclosingTarget()
CompositeIndex.getClassByName
(DotName className) Gets the class (or interface, or annotation) that was scanned during the indexing phase.Index.getClassByName
(DotName className) Gets the class (or interface, or annotation) that was scanned during the indexing phase.IndexView.getClassByName
(DotName className) Gets the class (or interface, or annotation) that was scanned during the indexing phase.Indexer.index
(InputStream stream) Analyze and index the class file data present in the passed input stream.Indexer.indexClass
(Class<?> clazz) Analyze and index the class file data present in the passed class.ModuleInfo.moduleInfoClass()
private ClassInfo
IndexReaderV2.readClassEntry
(PackedDataInputStream stream, Map<DotName, List<AnnotationInstance>> masterAnnotations, int version) Methods in org.jboss.jandex that return types with arguments of type ClassInfoModifier and TypeMethodDescriptionCompositeIndex.getAllKnownImplementors
(DotName interfaceName) Returns all known classes that implement the given interface, directly and indirectly.Index.getAllKnownImplementors
(DotName interfaceName) IndexView.getAllKnownImplementors
(DotName interfaceName) Returns all known classes that implement the given interface, directly and indirectly.CompositeIndex.getAllKnownSubclasses
(DotName className) Returns all known (including non-direct) sub classes of the given class.Index.getAllKnownSubclasses
(DotName className) IndexView.getAllKnownSubclasses
(DotName className) Returns all known (including non-direct) sub classes of the given class.CompositeIndex.getKnownClasses()
Gets all known classes by this index (those which were scanned).Index.getKnownClasses()
Gets all known classes by this index (those which were scanned).IndexView.getKnownClasses()
Gets all known classes by this index (those which were scanned).CompositeIndex.getKnownDirectImplementors
(DotName className) Gets all known direct implementors of the specified interface name.Index.getKnownDirectImplementors
(DotName className) Gets all known direct implementors of the specified interface name.IndexView.getKnownDirectImplementors
(DotName className) Gets all known direct implementors of the specified interface name.CompositeIndex.getKnownDirectSubclasses
(DotName className) Gets all known direct subclasses of the specified class name.Index.getKnownDirectSubclasses
(DotName className) Gets all known direct subclasses of the specified class name.IndexView.getKnownDirectSubclasses
(DotName className) Gets all known direct subclasses of the specified class name.CompositeIndex.getKnownUsers
(DotName className) Obtains a list of classes that use the specified class.Index.getKnownUsers
(DotName className) Obtains a list of classes that use the specified class.IndexView.getKnownUsers
(DotName className) Obtains a list of classes that use the specified class.Methods in org.jboss.jandex with parameters of type ClassInfoModifier and TypeMethodDescriptionprivate void
private void
IndexReaderV1.addClassToMap
(HashMap<DotName, List<ClassInfo>> map, DotName name, ClassInfo currentClass) private void
IndexReaderV2.addClassToMap
(HashMap<DotName, List<ClassInfo>> map, DotName name, ClassInfo currentClass) private void
Indexer.addImplementor
(DotName interfaceName, ClassInfo currentClass) private void
Indexer.addSubclass
(DotName superName, ClassInfo currentClass) static FieldInfo
Construct a new mock Field instance.static MethodInfo
MethodInfo.create
(ClassInfo clazz, String name, String[] parameterNames, Type[] args, Type returnType, short flags, TypeVariable[] typeParameters, Type[] exceptions) Construct a new mock Method instance.static MethodInfo
Construct a new mock Method instance.static MethodInfo
MethodInfo.create
(ClassInfo clazz, String name, Type[] args, Type returnType, short flags, TypeVariable[] typeParameters, Type[] exceptions) Construct a new mock Method instance.static RecordComponentInfo
Constructs a new mock record component infoprivate void
Indexer.parseClassSignature
(String signature, ClassInfo clazz) private static void
JarIndexer.printIndexEntryInfo
(ClassInfo info, PrintStream infoStream) private void
Main.printIndexEntryInfo
(ClassInfo info) private void
Indexer.processEnclosingMethod
(DataInputStream data, ClassInfo target) private void
Indexer.processInnerClasses
(DataInputStream data, ClassInfo target) private void
Indexer.processModule
(DataInputStream data, ClassInfo target) private void
Indexer.processModuleMainClass
(DataInputStream data, ClassInfo target) private void
Indexer.processModulePackages
(DataInputStream data, ClassInfo target) private void
IndexReaderV1.readAnnotations
(PackedDataInputStream stream, Map<DotName, 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) final Type
MethodInternal.receiverType
(ClassInfo clazz) (package private) void
FieldInfo.setClassInfo
(ClassInfo clazz) (package private) final void
MethodInfo.setClassInfo
(ClassInfo clazz) (package private) void
RecordComponentInfo.setClassInfo
(ClassInfo clazz) private void
IndexReaderV2.updateAnnotationTargetInfo
(AnnotationInstance[] annotations, ClassInfo clazz) private void
IndexWriterV2.writeClassEntry
(PackedDataOutputStream stream, ClassInfo clazz, int version) Method parameters in org.jboss.jandex with type arguments of type ClassInfoModifier and TypeMethodDescriptionprivate void
IndexReaderV1.addClassToMap
(HashMap<DotName, List<ClassInfo>> map, DotName name, ClassInfo currentClass) private void
IndexReaderV2.addClassToMap
(HashMap<DotName, List<ClassInfo>> map, DotName name, ClassInfo currentClass) private void
CompositeIndex.getAllKnownSubClasses
(DotName className, Set<ClassInfo> allKnown, Set<DotName> processedClasses) private void
CompositeIndex.getAllKnownSubClasses
(DotName name, Set<ClassInfo> allKnown, Set<DotName> subClassesToProcess, Set<DotName> processedClasses) private void
Index.getAllKnownSubClasses
(DotName className, Set<ClassInfo> allKnown, Set<DotName> processedClasses) private void
Index.getAllKnownSubClasses
(DotName name, Set<ClassInfo> allKnown, Set<DotName> subClassesToProcess, Set<DotName> processedClasses) private void
CompositeIndex.getKnownImplementors
(DotName name, Set<ClassInfo> allKnown, Set<DotName> subInterfacesToProcess, Set<DotName> processedClasses) private void
Index.getKnownImplementors
(DotName name, Set<ClassInfo> allKnown, Set<DotName> subInterfacesToProcess, Set<DotName> processedClasses) private void
IndexWriterV2.writeUsersSet
(PackedDataOutputStream stream, DotName user, List<ClassInfo> uses) private void
IndexWriterV2.writeUsersTable
(PackedDataOutputStream stream, Map<DotName, List<ClassInfo>> users) Constructors in org.jboss.jandex with parameters of type ClassInfoModifierConstructorDescription(package private)
ClassExtendsTypeTarget
(ClassInfo enclosingTarget, int position) (package private)
(package private)
FieldInfo
(ClassInfo clazz, FieldInternal internal) FieldInfoGenerator
(ClassInfo clazz, FieldInternal[] fields, byte[] positions) (package private)
MethodInfo
(ClassInfo clazz, byte[] name, byte[][] parameterNames, Type[] parameters, Type returnType, short flags) (package private)
MethodInfo
(ClassInfo clazz, byte[] name, byte[][] parameterNames, Type[] parameters, Type returnType, short flags, Type[] typeParameters, Type[] exceptions) (package private)
MethodInfo
(ClassInfo clazz, MethodInternal methodInternal) MethodInfoGenerator
(ClassInfo clazz, MethodInternal[] methods, byte[] positions) (package private)
ModuleInfo
(ClassInfo moduleInfoClass, DotName name, short flags, String version) (package private)
RecordComponentInfo
(ClassInfo clazz, byte[] name, Type type) (package private)
RecordComponentInfo
(ClassInfo clazz, RecordComponentInternal internal) RecordComponentInfoGenerator
(ClassInfo clazz, RecordComponentInternal[] recordComponents, byte[] positions)