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 ClassInfoFieldInfo. clazzprivate ClassInfoFieldInfoGenerator. clazzprivate ClassInfoMethodInfo. clazzprivate ClassInfoMethodInfoGenerator. clazzprivate ClassInfoRecordComponentInfo. clazzprivate ClassInfoRecordComponentInfoGenerator. clazzprivate ClassInfoIndexer. currentClassprivate ClassInfoModuleInfo. moduleInfoClassFields in org.jboss.jandex with type parameters of type ClassInfo Modifier and Type Field Description (package private) java.util.Map<DotName,ClassInfo>Index. classesprivate java.util.Map<DotName,ClassInfo>Indexer. classes(package private) java.util.Map<DotName,java.util.Collection<ClassInfo>>Index. classesInPackageprivate static java.util.List<ClassInfo>Index. EMPTY_CLASSINFO_LISTprivate java.util.Map<DotName,java.util.List<ClassInfo>>Indexer. implementorsprivate java.util.Map<DotName,java.util.List<ClassInfo>>Indexer. subclassesprivate java.util.Map<DotName,java.util.List<ClassInfo>>Indexer. subinterfacesprivate java.util.Map<DotName,java.util.Set<ClassInfo>>Indexer. usersMethods in org.jboss.jandex that return ClassInfo Modifier and Type Method Description ClassInfoAnnotationTarget. asClass()Casts and returns this target as aClassInfoif it is of kindCLASSClassInfoClassInfo. asClass()ClassInfoFieldInfo. asClass()ClassInfoMethodInfo. asClass()ClassInfoMethodParameterInfo. asClass()ClassInfoRecordComponentInfo. asClass()ClassInfoTypeTarget. asClass()static ClassInfoClassInfo. create(DotName name, DotName superName, short flags, DotName[] interfaces, java.util.Map<DotName,java.util.List<AnnotationInstance>> annotations, boolean hasNoArgsConstructor)Deprecated.ClassInfoFieldInfo. declaringClass()Returns the class which declared the fieldClassInfoMethodInfo. declaringClass()Returns the class that declared this methodClassInfoRecordComponentInfo. declaringClass()Returns the (record) class declaring this record component.ClassInfoClassExtendsTypeTarget. enclosingTarget()ClassInfoCompositeIndex. getClassByName(DotName className)Returns the class (or enum, record, interface, annotation) with given name.ClassInfoEmptyIndex. getClassByName(DotName className)ClassInfoIndex. getClassByName(DotName className)Returns the class (or enum, record, interface, annotation) with given name.default ClassInfoIndexView. getClassByName(java.lang.Class<?> clazz)Returns the class (or enum, record, interface, annotation) with given name (clazz.getName()).default ClassInfoIndexView. getClassByName(java.lang.String className)Returns the class (or enum, record, interface, annotation) with given name.ClassInfoIndexView. getClassByName(DotName className)Returns the class (or enum, record, interface, annotation) with given name.ClassInfoStackedIndex. getClassByName(DotName className)ClassInfoIndexer. index$$bridge(java.io.InputStream stream)ClassInfoIndexer. indexClass$$bridge(java.lang.Class<?> clazz)ClassInfoModuleInfo. moduleInfoClass()private ClassInfoIndexReaderV2. readClassEntry(PackedDataInputStream stream, java.util.Map<DotName,java.util.List<AnnotationInstance>> masterAnnotations)static ClassInfoIndex. singleClass(byte[] classData)static ClassInfoIndex. singleClass(java.io.InputStream classData)static ClassInfoIndex. 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.Collection<ClassInfo>CompositeIndex. getAllKnownImplementations(DotName interfaceName)java.util.Collection<ClassInfo>EmptyIndex. getAllKnownImplementations(DotName interfaceName)java.util.Collection<ClassInfo>Index. getAllKnownImplementations(DotName interfaceName)default java.util.Collection<ClassInfo>IndexView. getAllKnownImplementations(java.lang.Class<?> interfaceClass)Returns all known classes that implement the given interface, directly and indirectly.default java.util.Collection<ClassInfo>IndexView. getAllKnownImplementations(java.lang.String interfaceName)Returns all known classes that implement the given interface, directly and indirectly.java.util.Collection<ClassInfo>IndexView. getAllKnownImplementations(DotName interfaceName)Returns all known classes that implement the given interface, directly and indirectly.java.util.Collection<ClassInfo>StackedIndex. getAllKnownImplementations(DotName interfaceName)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)Deprecated.default java.util.Collection<ClassInfo>IndexView. getAllKnownImplementors(java.lang.String interfaceName)Deprecated.java.util.Collection<ClassInfo>IndexView. getAllKnownImplementors(DotName interfaceName)Deprecated.java.util.Collection<ClassInfo>StackedIndex. getAllKnownImplementors(DotName interfaceName)java.util.Set<ClassInfo>CompositeIndex. getAllKnownSubclasses(DotName className)Returns all known subclasses of the given class, direct and indirect.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 subclasses of the given class, direct and indirect.default java.util.Collection<ClassInfo>IndexView. getAllKnownSubclasses(java.lang.String className)Returns all known subclasses of the given class, direct and indirect.java.util.Collection<ClassInfo>IndexView. getAllKnownSubclasses(DotName className)Returns all known subclasses of the given class, direct and indirect.java.util.Collection<ClassInfo>StackedIndex. getAllKnownSubclasses(DotName className)java.util.Collection<ClassInfo>CompositeIndex. getAllKnownSubinterfaces(DotName interfaceName)Returns all known subinterfaces of the given interface, direct and indirect.java.util.Collection<ClassInfo>EmptyIndex. getAllKnownSubinterfaces(DotName interfaceName)java.util.Collection<ClassInfo>Index. getAllKnownSubinterfaces(DotName interfaceName)Returns all known subinterfaces of the given interface, direct and indirect.default java.util.Collection<ClassInfo>IndexView. getAllKnownSubinterfaces(java.lang.Class<?> interfaceClass)Returns all known subinterfaces of the given interface, direct and indirect.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 subinterfaces of the given interface, direct and indirect.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. getKnownDirectImplementations(DotName interfaceName)java.util.Collection<ClassInfo>EmptyIndex. getKnownDirectImplementations(DotName interfaceName)java.util.Collection<ClassInfo>Index. getKnownDirectImplementations(DotName interfaceName)default java.util.Collection<ClassInfo>IndexView. getKnownDirectImplementations(java.lang.Class<?> interfaceClass)Returns all known classes that directly implement the given interface.default java.util.Collection<ClassInfo>IndexView. getKnownDirectImplementations(java.lang.String interfaceName)Returns all known classes that directly implement the given interface.java.util.Collection<ClassInfo>IndexView. getKnownDirectImplementations(DotName interfaceName)Returns all known classes that directly implement the given interface.java.util.Collection<ClassInfo>StackedIndex. getKnownDirectImplementations(DotName interfaceName)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)Deprecated.default java.util.Collection<ClassInfo>IndexView. getKnownDirectImplementors(java.lang.String interfaceName)Deprecated.java.util.Collection<ClassInfo>IndexView. getKnownDirectImplementors(DotName interfaceName)Deprecated.java.util.Collection<ClassInfo>StackedIndex. getKnownDirectImplementors(DotName interfaceName)java.util.Set<ClassInfo>CompositeIndex. getKnownDirectSubclasses(DotName className)Returns all known direct subclasses of the given class.java.util.Collection<ClassInfo>EmptyIndex. getKnownDirectSubclasses(DotName className)java.util.List<ClassInfo>Index. getKnownDirectSubclasses(DotName className)Returns all known direct subclasses of the given class.default java.util.Collection<ClassInfo>IndexView. getKnownDirectSubclasses(java.lang.Class<?> clazz)Returns all known direct subclasses of the given class.default java.util.Collection<ClassInfo>IndexView. getKnownDirectSubclasses(java.lang.String className)Returns all known direct subclasses of the given class.java.util.Collection<ClassInfo>IndexView. getKnownDirectSubclasses(DotName className)Returns all known direct subclasses of the given class.java.util.Collection<ClassInfo>StackedIndex. getKnownDirectSubclasses(DotName className)java.util.Collection<ClassInfo>CompositeIndex. getKnownDirectSubinterfaces(DotName interfaceName)Returns all known direct subinterfaces of the given interface.java.util.Collection<ClassInfo>EmptyIndex. getKnownDirectSubinterfaces(DotName interfaceName)java.util.List<ClassInfo>Index. getKnownDirectSubinterfaces(DotName interfaceName)Returns all known direct subinterfaces of the given interface.default java.util.Collection<ClassInfo>IndexView. getKnownDirectSubinterfaces(java.lang.Class<?> interfaceClass)Returns all known direct subinterfaces of the given interface.default java.util.Collection<ClassInfo>IndexView. getKnownDirectSubinterfaces(java.lang.String interfaceName)Returns all known direct subinterfaces of the given interface.java.util.Collection<ClassInfo>IndexView. getKnownDirectSubinterfaces(DotName interfaceName)Returns all known direct subinterfaces of the given 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 AnnotationInstanceBuilderAnnotationInstanceBuilder. add(java.lang.String name, ClassInfo value)Adds a class-valued annotation member with givenname.AnnotationInstanceBuilderAnnotationInstanceBuilder. add(java.lang.String name, ClassInfo[] values)Adds a class array-valued annotation member with givenname.AnnotationInstanceBuilderAnnotationInstanceBuilder. add(java.lang.String name, ClassInfo enumType, java.lang.String enumValue)Adds an enum-valued annotation member with givenname.AnnotationInstanceBuilderAnnotationInstanceBuilder. add(java.lang.String name, ClassInfo enumType, java.lang.String[] enumValues)Adds an enum array-valued annotation member with givenname.private voidIndexWriterV2. addClass(ClassInfo clazz)private voidIndexReaderV1. addClassToMap(java.util.HashMap<DotName,java.util.List<ClassInfo>> map, DotName name, ClassInfo currentClass)private voidIndexReaderV2. addClassToMap(java.util.HashMap<DotName,java.util.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 AnnotationInstanceBuilderAnnotationInstance. builder(ClassInfo annotationType)Creates a builder of annotation instances of givenannotationType.static FieldInfoFieldInfo. create(ClassInfo clazz, java.lang.String name, Type type, short flags)Construct a new mock Field instance.static MethodInfoMethodInfo. 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 MethodInfoMethodInfo. create(ClassInfo clazz, java.lang.String name, Type[] parameterTypes, Type returnType, short flags)Construct a new mock Method instance.static MethodInfoMethodInfo. create(ClassInfo clazz, java.lang.String name, Type[] parameterTypes, Type returnType, short flags, TypeVariable[] typeParameters, Type[] exceptions)Construct a new mock Method instance.static RecordComponentInfoRecordComponentInfo. 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 givenClassInfofrom the thread context classloader.static EquivalenceKey.ClassEquivalenceKeyEquivalenceKey. of(ClassInfo clazz)Returns an equivalence key for given class.private voidIndexer. parseClassSignature(java.lang.String signature, ClassInfo clazz)private voidIndexer. processEnclosingMethod(java.io.DataInputStream data, ClassInfo target)private voidIndexer. processInnerClasses(java.io.DataInputStream data, ClassInfo target)private voidIndexer. processModule(java.io.DataInputStream data, ClassInfo target)private voidIndexer. processModuleMainClass(java.io.DataInputStream data, ClassInfo target)private voidIndexer. processModulePackages(java.io.DataInputStream data, ClassInfo target)private voidIndexer. processPermittedSubclasses(java.io.DataInputStream data, ClassInfo target)private voidIndexReaderV1. 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 MethodInfoIndexReaderV1. readMethod(ClassInfo clazz, PackedDataInputStream stream)private ModuleInfoIndexReaderV2. readModuleEntry(PackedDataInputStream stream, ClassInfo moduleInfoClass)(package private) TypeMethodInternal. receiverType(ClassInfo clazz)(package private) static java.lang.StringGenericSignatureReconstruction. reconstructGenericSignature(ClassInfo clazz, java.util.function.Function<java.lang.String,Type> typeVariableSubstitution)(package private) static booleanGenericSignatureReconstruction. requiresGenericSignature(ClassInfo clazz)(package private) voidFieldInfo. setClassInfo(ClassInfo clazz)(package private) voidMethodInfo. setClassInfo(ClassInfo clazz)(package private) voidRecordComponentInfo. setClassInfo(ClassInfo clazz)java.lang.StringFieldInternal. toString(ClassInfo clazz)java.lang.StringRecordComponentInternal. toString(ClassInfo clazz)private voidIndexReaderV2. updateAnnotationTargetInfo(AnnotationInstance[] annotations, ClassInfo clazz)AnnotationInstanceBuilderAnnotationInstanceBuilder. value(ClassInfo value)Adds a class-valued annotation member calledvalue.AnnotationInstanceBuilderAnnotationInstanceBuilder. value(ClassInfo[] values)Adds a class array-valued annotation member calledvalue.AnnotationInstanceBuilderAnnotationInstanceBuilder. value(ClassInfo enumType, java.lang.String enumValue)Adds an enum-valued annotation member calledvalue.AnnotationInstanceBuilderAnnotationInstanceBuilder. value(ClassInfo enumType, java.lang.String[] enumValues)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 ClassInfo Modifier and Type Method Description private voidIndexReaderV1. addClassToMap(java.util.HashMap<DotName,java.util.List<ClassInfo>> map, DotName name, ClassInfo currentClass)private voidIndexReaderV2. addClassToMap(java.util.HashMap<DotName,java.util.List<ClassInfo>> map, DotName name, ClassInfo currentClass)private voidCompositeIndex. getAllKnownSubClasses(DotName className, java.util.Set<ClassInfo> allKnown, java.util.Set<DotName> processedClasses)private voidCompositeIndex. getAllKnownSubClasses(DotName name, java.util.Set<ClassInfo> allKnown, java.util.Set<DotName> subClassesToProcess, java.util.Set<DotName> processedClasses)private voidIndex. getAllKnownSubClasses(DotName className, java.util.Set<ClassInfo> allKnown, java.util.Set<DotName> processedClasses)private voidIndex. getAllKnownSubClasses(DotName name, java.util.Set<ClassInfo> allKnown, java.util.Set<DotName> subClassesToProcess, java.util.Set<DotName> processedClasses)private voidCompositeIndex. getKnownImplementors(DotName name, java.util.Set<ClassInfo> allKnown, java.util.Set<DotName> subInterfacesToProcess, java.util.Set<DotName> processedClasses)private voidIndex. getKnownImplementors(DotName name, java.util.Set<ClassInfo> allKnown, java.util.Set<DotName> subInterfacesToProcess, java.util.Set<DotName> processedClasses)AnnotationTransformation.ClassBuilderAnnotationTransformation.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)
-