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) Gets the class (or interface, or annotation) that was scanned during the indexing phase.EmptyIndex.getClassByName(DotName className) Index.getClassByName(DotName className) Gets the class (or interface, or annotation) that was scanned during the indexing phase.default ClassInfoIndexView.getClassByName(Class<?> clazz) Gets the class (or interface, or annotation) that was scanned during the indexing phase.default ClassInfoIndexView.getClassByName(String 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.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.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) Returns all known classes that implement the given interface, directly and indirectly.default Collection<ClassInfo>IndexView.getAllKnownImplementors(String interfaceName) Returns all known classes that implement the given interface, directly and indirectly.IndexView.getAllKnownImplementors(DotName interfaceName) Returns all known classes that implement the given interface, directly and indirectly.StackedIndex.getAllKnownImplementors(DotName interfaceName) CompositeIndex.getAllKnownSubclasses(DotName className) Returns all known (including non-direct) subclasses of the given class.EmptyIndex.getAllKnownSubclasses(DotName className) Index.getAllKnownSubclasses(DotName className) default Collection<ClassInfo>IndexView.getAllKnownSubclasses(Class<?> clazz) Returns all known (including non-direct) subclasses of the given class.default Collection<ClassInfo>IndexView.getAllKnownSubclasses(String className) Returns all known (including non-direct) subclasses of the given class.IndexView.getAllKnownSubclasses(DotName className) Returns all known (including non-direct) subclasses of the given class.StackedIndex.getAllKnownSubclasses(DotName className) CompositeIndex.getAllKnownSubinterfaces(DotName interfaceName) Returns all known interfaces that extend the given interface, directly and indirectly.EmptyIndex.getAllKnownSubinterfaces(DotName interfaceName) Index.getAllKnownSubinterfaces(DotName interfaceName) Returns all known interfaces that extend the given interface, directly and indirectly.default Collection<ClassInfo>IndexView.getAllKnownSubinterfaces(Class<?> interfaceClass) Returns all known interfaces that extend the given interface, directly and indirectly.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 interfaces that extend the given interface, directly and indirectly.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.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) Gets all known direct implementors of the specified interface name.default Collection<ClassInfo>IndexView.getKnownDirectImplementors(String interfaceName) Gets all known direct implementors of the specified interface name.IndexView.getKnownDirectImplementors(DotName interfaceName) Gets all known direct implementors of the specified interface.StackedIndex.getKnownDirectImplementors(DotName interfaceName) CompositeIndex.getKnownDirectSubclasses(DotName className) Gets all known direct subclasses of the specified class.EmptyIndex.getKnownDirectSubclasses(DotName className) Index.getKnownDirectSubclasses(DotName className) Gets all known direct subclasses of the specified class.default Collection<ClassInfo>IndexView.getKnownDirectSubclasses(Class<?> clazz) Gets all known direct subclasses of the specified class.default Collection<ClassInfo>IndexView.getKnownDirectSubclasses(String className) Gets all known direct subclasses of the specified class.IndexView.getKnownDirectSubclasses(DotName className) Gets all known direct subclasses of the specified class.StackedIndex.getKnownDirectSubclasses(DotName className) CompositeIndex.getKnownDirectSubinterfaces(DotName interfaceName) Gets all known direct subinterfaces of the specified interface.EmptyIndex.getKnownDirectSubinterfaces(DotName interfaceName) Index.getKnownDirectSubinterfaces(DotName interfaceName) Gets all known direct subinterfaces of the specified interface.default Collection<ClassInfo>IndexView.getKnownDirectSubinterfaces(Class<?> interfaceClass) Gets all known direct subinterfaces of the specified interface.default Collection<ClassInfo>IndexView.getKnownDirectSubinterfaces(String interfaceName) Gets all known direct subinterfaces of the specified interface.IndexView.getKnownDirectSubinterfaces(DotName interfaceName) Gets all known direct subinterfaces of the specified 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.