Uses of Class
org.jboss.jandex.ClassInfo
-
Uses of ClassInfo in org.jboss.jandex
Methods 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()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.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.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.Method parameters in org.jboss.jandex with type arguments of type ClassInfoModifier and TypeMethodDescriptionAdds a predicate that tests whether the current class matches givenpredicate.