Uses of Class
org.jboss.jandex.ClassInfo
Packages that use ClassInfo
Package
Description
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 ClassInfoModifier and TypeFieldDescriptionprivate ClassInfoFieldInfo.clazzprivate final ClassInfoFieldInfoGenerator.clazzprivate ClassInfoMethodInfo.clazzprivate final ClassInfoMethodInfoGenerator.clazzprivate ClassInfoRecordComponentInfo.clazzprivate final ClassInfoRecordComponentInfoGenerator.clazzprivate ClassInfoIndexer.currentClassprivate final ClassInfoModuleInfo.moduleInfoClassFields in org.jboss.jandex with type parameters of type ClassInfoModifier and TypeFieldDescriptionIndex.classesIndexer.classes(package private) Map<DotName, Collection<ClassInfo>> Index.classesInPackageIndex.EMPTY_CLASSINFO_LISTIndexer.implementorsIndexer.subclassesIndexer.subinterfacesIndexer.usersMethods in org.jboss.jandex that return ClassInfoModifier and TypeMethodDescriptionAnnotationTarget.asClass()Casts and returns this target as aClassInfoif it is of kindCLASSClassInfo.asClass()final ClassInfoFieldInfo.asClass()final ClassInfoMethodInfo.asClass()final ClassInfoMethodParameterInfo.asClass()final ClassInfoRecordComponentInfo.asClass()final ClassInfoTypeTarget.asClass()static ClassInfoClassInfo.create(DotName name, DotName superName, short flags, DotName[] interfaces, Map<DotName, List<AnnotationInstance>> annotations, boolean hasNoArgsConstructor) Deprecated.final ClassInfoFieldInfo.declaringClass()Returns the class which declared the fieldfinal ClassInfoMethodInfo.declaringClass()Returns the class that declared this methodfinal ClassInfoRecordComponentInfo.declaringClass()Returns the (record) class declaring this record component.ClassExtendsTypeTarget.enclosingTarget()CompositeIndex.getClassByName(DotName className) Returns the class (or enum, record, interface, annotation) with given name.EmptyIndex.getClassByName(DotName className) Index.getClassByName(DotName className) Returns the class (or enum, record, interface, annotation) with given name.default ClassInfoIndexView.getClassByName(Class<?> clazz) Returns the class (or enum, record, interface, annotation) with given name (clazz.getName()).default ClassInfoIndexView.getClassByName(String className) Returns the class (or enum, record, interface, annotation) with given name.IndexView.getClassByName(DotName className) Returns the class (or enum, record, interface, annotation) with given name.StackedIndex.getClassByName(DotName className) Indexer.index$$bridge(InputStream stream) Indexer.indexClass$$bridge(Class<?> clazz) ModuleInfo.moduleInfoClass()private ClassInfoIndexReaderV2.readClassEntry(PackedDataInputStream stream, Map<DotName, List<AnnotationInstance>> masterAnnotations) static ClassInfoIndex.singleClass(byte[] classData) static ClassInfoIndex.singleClass(InputStream classData) static ClassInfoIndex.singleClass(Class<?> clazz) Methods in org.jboss.jandex that return types with arguments of type ClassInfoModifier and TypeMethodDescriptionCompositeIndex.getAllKnownImplementations(DotName interfaceName) EmptyIndex.getAllKnownImplementations(DotName interfaceName) Index.getAllKnownImplementations(DotName interfaceName) default Collection<ClassInfo> IndexView.getAllKnownImplementations(Class<?> interfaceClass) Returns all known classes that implement the given interface, directly and indirectly.default Collection<ClassInfo> IndexView.getAllKnownImplementations(String interfaceName) Returns all known classes that implement the given interface, directly and indirectly.IndexView.getAllKnownImplementations(DotName interfaceName) Returns all known classes that implement the given interface, directly and indirectly.StackedIndex.getAllKnownImplementations(DotName interfaceName) CompositeIndex.getAllKnownImplementors(DotName interfaceName) Returns all known classes that implement the given interface, directly and indirectly.EmptyIndex.getAllKnownImplementors(DotName interfaceName) Index.getAllKnownImplementors(DotName interfaceName) Returns all known classes that implement the given interface, directly and indirectly.default Collection<ClassInfo> IndexView.getAllKnownImplementors(Class<?> interfaceClass) Deprecated.default Collection<ClassInfo> IndexView.getAllKnownImplementors(String interfaceName) Deprecated.IndexView.getAllKnownImplementors(DotName interfaceName) Deprecated.StackedIndex.getAllKnownImplementors(DotName interfaceName) CompositeIndex.getAllKnownSubclasses(DotName className) Returns all known subclasses of the given class, direct and indirect.EmptyIndex.getAllKnownSubclasses(DotName className) Index.getAllKnownSubclasses(DotName className) default Collection<ClassInfo> IndexView.getAllKnownSubclasses(Class<?> clazz) Returns all known subclasses of the given class, direct and indirect.default Collection<ClassInfo> IndexView.getAllKnownSubclasses(String className) Returns all known subclasses of the given class, direct and indirect.IndexView.getAllKnownSubclasses(DotName className) Returns all known subclasses of the given class, direct and indirect.StackedIndex.getAllKnownSubclasses(DotName className) CompositeIndex.getAllKnownSubinterfaces(DotName interfaceName) Returns all known subinterfaces of the given interface, direct and indirect.EmptyIndex.getAllKnownSubinterfaces(DotName interfaceName) Index.getAllKnownSubinterfaces(DotName interfaceName) Returns all known subinterfaces of the given interface, direct and indirect.default Collection<ClassInfo> IndexView.getAllKnownSubinterfaces(Class<?> interfaceClass) Returns all known subinterfaces of the given interface, direct and indirect.default Collection<ClassInfo> IndexView.getAllKnownSubinterfaces(String interfaceName) Returns all known interfaces that extend the given interface, directly and indirectly.IndexView.getAllKnownSubinterfaces(DotName interfaceName) Returns all known subinterfaces of the given interface, direct and indirect.StackedIndex.getAllKnownSubinterfaces(DotName interfaceName) CompositeIndex.getClassesInPackage(DotName packageName) Returns all classes known to this index that are present in given package.EmptyIndex.getClassesInPackage(DotName packageName) Index.getClassesInPackage(DotName packageName) Returns all classes known to this index that are present in given package.default Collection<ClassInfo> IndexView.getClassesInPackage(String packageName) Returns all classes known to this index that are present in given package.IndexView.getClassesInPackage(DotName packageName) Returns all classes known to this index that are present in given package.StackedIndex.getClassesInPackage(DotName packageName) CompositeIndex.getKnownClasses()Gets all known classes by this index (those which were scanned).EmptyIndex.getKnownClasses()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).StackedIndex.getKnownClasses()CompositeIndex.getKnownDirectImplementations(DotName interfaceName) EmptyIndex.getKnownDirectImplementations(DotName interfaceName) Index.getKnownDirectImplementations(DotName interfaceName) default Collection<ClassInfo> IndexView.getKnownDirectImplementations(Class<?> interfaceClass) Returns all known classes that directly implement the given interface.default Collection<ClassInfo> IndexView.getKnownDirectImplementations(String interfaceName) Returns all known classes that directly implement the given interface.IndexView.getKnownDirectImplementations(DotName interfaceName) Returns all known classes that directly implement the given interface.StackedIndex.getKnownDirectImplementations(DotName interfaceName) CompositeIndex.getKnownDirectImplementors(DotName interfaceName) Gets all known direct implementors of the specified interface.EmptyIndex.getKnownDirectImplementors(DotName interfaceName) Index.getKnownDirectImplementors(DotName interfaceName) Gets all known direct implementors of the specified interface.default Collection<ClassInfo> IndexView.getKnownDirectImplementors(Class<?> interfaceClass) Deprecated.default Collection<ClassInfo> IndexView.getKnownDirectImplementors(String interfaceName) Deprecated.IndexView.getKnownDirectImplementors(DotName interfaceName) Deprecated.StackedIndex.getKnownDirectImplementors(DotName interfaceName) CompositeIndex.getKnownDirectSubclasses(DotName className) Returns all known direct subclasses of the given class.EmptyIndex.getKnownDirectSubclasses(DotName className) Index.getKnownDirectSubclasses(DotName className) Returns all known direct subclasses of the given class.default Collection<ClassInfo> IndexView.getKnownDirectSubclasses(Class<?> clazz) Returns all known direct subclasses of the given class.default Collection<ClassInfo> IndexView.getKnownDirectSubclasses(String className) Returns all known direct subclasses of the given class.IndexView.getKnownDirectSubclasses(DotName className) Returns all known direct subclasses of the given class.StackedIndex.getKnownDirectSubclasses(DotName className) CompositeIndex.getKnownDirectSubinterfaces(DotName interfaceName) Returns all known direct subinterfaces of the given interface.EmptyIndex.getKnownDirectSubinterfaces(DotName interfaceName) Index.getKnownDirectSubinterfaces(DotName interfaceName) Returns all known direct subinterfaces of the given interface.default Collection<ClassInfo> IndexView.getKnownDirectSubinterfaces(Class<?> interfaceClass) Returns all known direct subinterfaces of the given interface.default Collection<ClassInfo> IndexView.getKnownDirectSubinterfaces(String interfaceName) Returns all known direct subinterfaces of the given interface.IndexView.getKnownDirectSubinterfaces(DotName interfaceName) Returns all known direct subinterfaces of the given interface.StackedIndex.getKnownDirectSubinterfaces(DotName interfaceName) CompositeIndex.getKnownUsers(DotName className) Returns a list of classes in this index that use the specified class.EmptyIndex.getKnownUsers(DotName className) Index.getKnownUsers(DotName className) Returns a list of classes in this index that use the specified class.default Collection<ClassInfo> IndexView.getKnownUsers(Class<?> clazz) Returns a list of classes in this index that use the specified class.default Collection<ClassInfo> IndexView.getKnownUsers(String className) Returns a list of classes in this index that use the specified class.IndexView.getKnownUsers(DotName className) Returns a list of classes in this index that use the specified class.StackedIndex.getKnownUsers(DotName className) Methods in org.jboss.jandex with parameters of type ClassInfoModifier and TypeMethodDescriptionAdds a class-valued annotation member with givenname.Adds a class array-valued annotation member with givenname.Adds an enum-valued annotation member with givenname.Adds an enum array-valued annotation member with givenname.private voidprivate voidIndexReaderV1.addClassToMap(HashMap<DotName, List<ClassInfo>> map, DotName name, ClassInfo currentClass) private voidIndexReaderV2.addClassToMap(HashMap<DotName, List<ClassInfo>> map, DotName name, ClassInfo currentClass) private voidIndexer.addImplementor(DotName interfaceName, ClassInfo currentClass) private voidIndexer.addSubclass(DotName superName, ClassInfo currentClass) private voidIndexer.addSubinterface(DotName superName, ClassInfo currentClass) static AnnotationInstanceBuilderCreates a builder of annotation instances of givenannotationType.static FieldInfoConstruct a new mock Field instance.static MethodInfoMethodInfo.create(ClassInfo clazz, String name, String[] parameterNames, Type[] parameterTypes, Type returnType, short flags, TypeVariable[] typeParameters, Type[] exceptions) Construct a new mock Method instance.static MethodInfoMethodInfo.create(ClassInfo clazz, String name, Type[] parameterTypes, Type returnType, short flags) Construct a new mock Method instance.static MethodInfoMethodInfo.create(ClassInfo clazz, String name, Type[] parameterTypes, Type returnType, short flags, TypeVariable[] typeParameters, Type[] exceptions) Construct a new mock Method instance.static RecordComponentInfoConstructs a new mock record component infostatic Class<?> Loads a class corresponding to givenClassInfofrom the thread context classloader.Returns an equivalence key for given class.private voidIndexer.parseClassSignature(String signature, ClassInfo clazz) private voidIndexer.processEnclosingMethod(DataInputStream data, ClassInfo target) private voidIndexer.processInnerClasses(DataInputStream data, ClassInfo target) private voidIndexer.processModule(DataInputStream data, ClassInfo target) private voidIndexer.processModuleMainClass(DataInputStream data, ClassInfo target) private voidIndexer.processModulePackages(DataInputStream data, ClassInfo target) private voidIndexer.processPermittedSubclasses(DataInputStream data, ClassInfo target) private voidIndexReaderV1.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 MethodInfoIndexReaderV1.readMethod(ClassInfo clazz, PackedDataInputStream stream) private ModuleInfoIndexReaderV2.readModuleEntry(PackedDataInputStream stream, ClassInfo moduleInfoClass) (package private) final TypeMethodInternal.receiverType(ClassInfo clazz) (package private) static StringGenericSignatureReconstruction.reconstructGenericSignature(ClassInfo clazz, Function<String, Type> typeVariableSubstitution) (package private) static booleanGenericSignatureReconstruction.requiresGenericSignature(ClassInfo clazz) (package private) voidFieldInfo.setClassInfo(ClassInfo clazz) (package private) final voidMethodInfo.setClassInfo(ClassInfo clazz) (package private) voidRecordComponentInfo.setClassInfo(ClassInfo clazz) private voidIndexReaderV2.updateAnnotationTargetInfo(AnnotationInstance[] annotations, ClassInfo clazz) Adds a class-valued annotation member calledvalue.Adds a class array-valued annotation member calledvalue.Adds an enum-valued annotation member calledvalue.Adds an enum array-valued annotation member calledvalue.private voidIndexWriterV2.writeClassEntry(PackedDataOutputStream stream, ClassInfo clazz) private voidIndexWriterV2.writeUsersSet(PackedDataOutputStream stream, DotName user, ClassInfo[] uses) Method parameters in org.jboss.jandex with type arguments of type ClassInfoModifier and TypeMethodDescriptionprivate voidIndexReaderV1.addClassToMap(HashMap<DotName, List<ClassInfo>> map, DotName name, ClassInfo currentClass) private voidIndexReaderV2.addClassToMap(HashMap<DotName, List<ClassInfo>> map, DotName name, ClassInfo currentClass) private voidCompositeIndex.getAllKnownSubClasses(DotName className, Set<ClassInfo> allKnown, Set<DotName> processedClasses) private voidCompositeIndex.getAllKnownSubClasses(DotName name, Set<ClassInfo> allKnown, Set<DotName> subClassesToProcess, Set<DotName> processedClasses) private voidIndex.getAllKnownSubClasses(DotName className, Set<ClassInfo> allKnown, Set<DotName> processedClasses) private voidIndex.getAllKnownSubClasses(DotName name, Set<ClassInfo> allKnown, Set<DotName> subClassesToProcess, Set<DotName> processedClasses) private voidCompositeIndex.getKnownImplementors(DotName name, Set<ClassInfo> allKnown, Set<DotName> subInterfacesToProcess, Set<DotName> processedClasses) private voidIndex.getKnownImplementors(DotName name, Set<ClassInfo> allKnown, Set<DotName> subInterfacesToProcess, Set<DotName> processedClasses) Adds a predicate that tests whether the current class matches givenpredicate.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[] parameterTypes, Type returnType, short flags) (package private)MethodInfo(ClassInfo clazz, byte[] name, byte[][] parameterNames, Type[] parameterTypes, 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)
IndexView.getAllKnownImplementations(Class)