Uses of Class
org.jboss.jandex.DotName
-
Uses of DotName in org.jboss.jandex
Fields in org.jboss.jandex declared as DotNameModifier and TypeFieldDescriptionstatic final DotNameDotName.ENUM_NAMEstatic final DotNameDotName.OBJECT_NAMEstatic final DotNameDotName.RECORD_NAMEstatic final DotNameDotName.STRING_NAMEMethods in org.jboss.jandex that return DotNameModifier and TypeMethodDescriptionAnnotationValue.asEnumType()Returns the type name, in DotName form, that represents the Java enumeration of this value.DotName[]AnnotationValue.asEnumTypeArray()Returns an array of the type name, in DotName form, that represents the Java enumeration of each array element.static DotNameDotName.createComponentized(DotName prefix, String localName) Constructs a componentizedDotName.static DotNameDotName.createComponentized(DotName prefix, String localName, boolean innerClass) Constructs a componentizedDotName.static DotNameDotName.createSimple(Class<?> clazz) Constructs a simpleDotNamewhich stores the name of given class in its entirety.static DotNameDotName.createSimple(String name) Constructs a simpleDotNamewhich stores the string in its entirety.ClassInfo.enclosingClass()Returns the enclosing class if this is a member class, ornullif this is a top-level, local or anonymous class.ClassInfo.EnclosingMethodInfo.enclosingClass()Returns the class name which declares this method or constructor.final DotName[]ClassInfo.interfaces()Deprecated.ModuleInfo.mainClass()AnnotationInstance.name()The name of this annotation in DotName form.ArrayType.name()final DotNameClassInfo.name()Returns the binary name of the class as aDotName.ClassSummary.name()Returns the name of this class.ModuleInfo.name()Returns the name of the classModuleInfo.RequiredModuleInfo.name()Type.name()Returns the name of this type (or its erasure in case of generic types) as aDotName, using theClass.getName()format.TypeVariable.name()TypeVariableReference.name()WildcardType.name()DotName.packagePrefixName()Returns the package portion of thisDotName.DotName.prefix()Returns the parent prefix for thisDotNameornullif there is none.ModuleInfo.ProvidedServiceInfo.service()ModuleInfo.ExportedPackageInfo.source()ModuleInfo.OpenedPackageInfo.source()ClassSummary.superclassName()Returns the name of this class's superclass.final DotNameClassInfo.superName()Returns the name of the super class declared by the extends clause of this class.Methods in org.jboss.jandex that return types with arguments of type DotNameModifier and TypeMethodDescriptionClassSummary.annotations()Returns the names of annotations present in this class.final Map<DotName,List<AnnotationInstance>> ClassInfo.annotations$$bridge()final Map<DotName,List<AnnotationInstance>> ClassInfo.annotationsMap()Returns a map indexed by annotation name, with a value list of annotation instances.CompositeIndex.getSubpackages(DotName packageName) Returns a set of packages known to this index that are direct subpackages of given package.Index.getSubpackages(DotName packageName) Returns a set of packages known to this index that are direct subpackages of given package.IndexView.getSubpackages(String packageName) Returns a set of packages known to this index that are direct subpackages of given package.IndexView.getSubpackages(DotName packageName) Returns a set of packages known to this index that are direct subpackages of given package.ClassInfo.interfaceNames()Returns a list of names for all interfaces this class implements.ClassInfo.memberClasses()Returns a set of names of member classes declared in this class.ModuleInfo.packages()ModuleInfo.ProvidedServiceInfo.providers()ModuleInfo.ExportedPackageInfo.targets()ModuleInfo.OpenedPackageInfo.targets()ModuleInfo.uses()Methods in org.jboss.jandex with parameters of type DotNameModifier and TypeMethodDescriptionAnnotationTarget.annotation(DotName name) Returns the annotation instance with given name declared on this annotation target or any of its nested annotation targets.final AnnotationInstanceClassInfo.annotation(DotName name) Returns the annotation instance with given name declared on this class, any of its members, or any type within the signature of the class or its members.final AnnotationInstanceFieldInfo.annotation(DotName name) Returns the annotation instance with given name declared on this field or any type within its signature.final AnnotationInstanceMethodInfo.annotation(DotName name) Returns the annotation instance with given name declared on this method, any of its parameters or any type within its signature.MethodParameterInfo.annotation(DotName name) Returns the annotation instance with given name declared on this method parameter or any type within its signature.final AnnotationInstanceModuleInfo.annotation(DotName name) final AnnotationInstanceRecordComponentInfo.annotation(DotName name) Returns the annotation instance with given name declared on this record component or any type within its signature.final AnnotationInstanceType.annotation(DotName name) Returns the annotation instance with given name declared on this type usage.TypeTarget.annotation(DotName name) Returns the annotation instance with given name declared on this type usage.AnnotationTarget.annotations(DotName name) Returns the annotation instances with given name declared on this annotation target and nested annotation targets.final List<AnnotationInstance>ClassInfo.annotations(DotName name) Returns the annotation instances with given name declared on this class, any of its members, or any type within the signature of the class or its members.final List<AnnotationInstance>FieldInfo.annotations(DotName name) Returns the annotation instances with given name declared on this field or any type within its signature.final List<AnnotationInstance>MethodInfo.annotations(DotName name) Returns the annotation instances with given name declared on this method, any of its parameters or any type within its signature.MethodParameterInfo.annotations(DotName name) Returns the annotation instances with given name declared on this method parameter or any type within its signature.final List<AnnotationInstance>RecordComponentInfo.annotations(DotName name) Returns the annotation instances with given name declared on this record component or any type within its signature.TypeTarget.annotations(DotName name) Returns the annotation instances with given name declared on this type usage.AnnotationTarget.annotationsWithRepeatable(DotName name, IndexView index) Returns the annotation instances with given name declared on this annotation target and nested annotation targets.final List<AnnotationInstance>ClassInfo.annotationsWithRepeatable(DotName name, IndexView index) Returns the annotation instances with given name declared on this class, any of its members, or any type within the signature of the class or its members.final List<AnnotationInstance>FieldInfo.annotationsWithRepeatable(DotName name, IndexView index) Returns the annotation instances with given name declared on this field or any type within its signature.final List<AnnotationInstance>MethodInfo.annotationsWithRepeatable(DotName name, IndexView index) Returns the annotation instances with given name declared on this method, any of its parameters or any type within its signature.MethodParameterInfo.annotationsWithRepeatable(DotName name, IndexView index) Returns the annotation instances with given name declared on this method parameter or any type within its signature.final List<AnnotationInstance>ModuleInfo.annotationsWithRepeatable(DotName name, IndexView index) final List<AnnotationInstance>RecordComponentInfo.annotationsWithRepeatable(DotName name, IndexView index) Returns the annotation instances with given name declared on this record component or any type within its signature.final List<AnnotationInstance>Type.annotationsWithRepeatable(DotName name, IndexView index) Returns the annotation instances with given name declared on this type usage.TypeTarget.annotationsWithRepeatable(DotName name, IndexView index) Returns the annotation instances with given name declared on this type usage.static AnnotationInstanceBuilderCreates a builder of annotation instances of givenannotationType.static AnnotationInstanceBuilderCreates a builder of annotation instances of givenannotationType.final AnnotationInstanceClassInfo.classAnnotation(DotName name) Deprecated.final List<AnnotationInstance>ClassInfo.classAnnotationsWithRepeatable(DotName name, IndexView index) Deprecated.intCompares aDotNameto anotherDotNameand returns whether thisDotNameis lesser than, greater than, or equal to the specified DotName.static AnnotationInstanceAnnotationInstance.create(DotName name, boolean visible, AnnotationTarget target, List<AnnotationValue> values) Construct a new mock annotation instance.static AnnotationInstanceAnnotationInstance.create(DotName name, boolean visible, AnnotationTarget target, AnnotationValue[] values) Construct a new mock annotation instance.static AnnotationInstanceAnnotationInstance.create(DotName name, AnnotationTarget target, List<AnnotationValue> values) Construct a new mock annotation instance.static AnnotationInstanceAnnotationInstance.create(DotName name, AnnotationTarget target, AnnotationValue[] values) Construct a new mock annotation instance.static ClassInfoClassInfo.create(DotName name, DotName superName, short flags, DotName[] interfaces, Map<DotName, List<AnnotationInstance>> annotations, boolean hasNoArgsConstructor) Deprecated.static ClassTypeCreate an instance of a class type with givenname.static ParameterizedTypeCreate an instance of a parameterized type with givenname, which denotes a generic class, and given typearguments.static TypeCreates a type instance of the specified kind.static DotNameDotName.createComponentized(DotName prefix, String localName) Constructs a componentizedDotName.static DotNameDotName.createComponentized(DotName prefix, String localName, boolean innerClass) Constructs a componentizedDotName.static AnnotationValueAnnotationValue.createEnumValue(String name, DotName typeName, String value) static TypeType.createWithAnnotations(DotName name, Type.Kind kind, AnnotationInstance[] annotations) Creates an instance of specified type with given typeannotations.AnnotationTarget.declaredAnnotation(DotName name) Returns the annotation instance with given name declared on this annotation target.final AnnotationInstanceClassInfo.declaredAnnotation(DotName name) Returns the annotation instance with given name declared on this class.final AnnotationInstanceFieldInfo.declaredAnnotation(DotName name) Returns the annotation instance with given name declared on this field.MethodInfo.declaredAnnotation(DotName name) Returns the annotation instance with given name declared on this method.MethodParameterInfo.declaredAnnotation(DotName name) Returns the annotation instance with given name declared on this method parameter.final AnnotationInstanceRecordComponentInfo.declaredAnnotation(DotName name) Returns the annotation instance with given name declared on this record component.TypeTarget.declaredAnnotation(DotName name) Returns the annotation instance with given name declared on this type usage.AnnotationTarget.declaredAnnotationsWithRepeatable(DotName name, IndexView index) Returns the annotation instances with given name declared on this annotation target.final List<AnnotationInstance>ClassInfo.declaredAnnotationsWithRepeatable(DotName name, IndexView index) Returns the annotation instances with given name declared on this class.final List<AnnotationInstance>FieldInfo.declaredAnnotationsWithRepeatable(DotName name, IndexView index) Returns the annotation instances with given name declared on this field.MethodInfo.declaredAnnotationsWithRepeatable(DotName name, IndexView index) Returns the annotation instances with given name declared on this method.MethodParameterInfo.declaredAnnotationsWithRepeatable(DotName name, IndexView index) Returns the annotation instances with given name declared on this method parameter.final List<AnnotationInstance>RecordComponentInfo.declaredAnnotationsWithRepeatable(DotName name, IndexView index) Returns the annotation instances with given name declared on this record component.TypeTarget.declaredAnnotationsWithRepeatable(DotName name, IndexView index) Returns the annotation instances with given name declared on this type usage.CompositeIndex.getAllKnownImplementors(DotName interfaceName) Returns all known classes that implement the given interface, directly and indirectly.Index.getAllKnownImplementors(DotName 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.CompositeIndex.getAllKnownSubclasses(DotName className) Returns all known (including non-direct) subclasses of the given class.Index.getAllKnownSubclasses(DotName className) IndexView.getAllKnownSubclasses(DotName className) Returns all known (including non-direct) subclasses of the given class.CompositeIndex.getAllKnownSubinterfaces(DotName interfaceName) Returns all known interfaces that extend the given interface, directly and indirectly.Index.getAllKnownSubinterfaces(DotName 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.CompositeIndex.getAnnotations(DotName annotationName) Obtains a list of instances for the specified annotation.Index.getAnnotations(DotName annotationName) Obtains a list of instances for the specified annotation.IndexView.getAnnotations(DotName annotationName) Obtains a list of instances for the specified annotation.CompositeIndex.getAnnotationsWithRepeatable(DotName annotationName, IndexView index) Obtains a list of instances for the specified annotation.Index.getAnnotationsWithRepeatable(DotName annotationName, IndexView index) Obtains a list of instances for the specified annotation.IndexView.getAnnotationsWithRepeatable(DotName annotationName, IndexView index) Obtains a list of instances for the specified annotation.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.CompositeIndex.getClassesInPackage(DotName packageName) Returns all classes known to this index that are present in given package.Index.getClassesInPackage(DotName 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.CompositeIndex.getKnownDirectImplementors(DotName className) Gets all known direct implementors of the specified interface.Index.getKnownDirectImplementors(DotName className) Gets all known direct implementors of the specified interface.IndexView.getKnownDirectImplementors(DotName className) Gets all known direct implementors of the specified interface.CompositeIndex.getKnownDirectSubclasses(DotName className) Gets all known direct subclasses of the specified class.Index.getKnownDirectSubclasses(DotName className) Gets all known direct subclasses of the specified class.IndexView.getKnownDirectSubclasses(DotName className) Gets all known direct subclasses of the specified class.CompositeIndex.getKnownDirectSubinterfaces(DotName interfaceName) Gets all known direct subinterfaces of the specified interface.Index.getKnownDirectSubinterfaces(DotName interfaceName) Gets all known direct subinterfaces of the specified interface.IndexView.getKnownDirectSubinterfaces(DotName interfaceName) Gets all known direct subinterfaces of the specified interface.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.CompositeIndex.getModuleByName(DotName moduleName) Gets the module that was scanned during the indexing phase.Index.getModuleByName(DotName moduleName) Gets the module that was scanned during the indexing phase.IndexView.getModuleByName(DotName moduleName) Gets the module that was scanned during the indexing phase.CompositeIndex.getSubpackages(DotName packageName) Returns a set of packages known to this index that are direct subpackages of given package.Index.getSubpackages(DotName packageName) Returns a set of packages known to this index that are direct subpackages of given package.IndexView.getSubpackages(DotName packageName) Returns a set of packages known to this index that are direct subpackages of given package.booleanAnnotationTarget.hasAnnotation(DotName name) Returns whether an annotation instance with given name is declared on this annotation target or any of its nested annotation targets.final booleanClassInfo.hasAnnotation(DotName name) Returns whether an annotation instance with given name is declared on this class, any of its members, or any type within the signature of the class or its members.final booleanFieldInfo.hasAnnotation(DotName name) Returns whether an annotation instance with given name is declared on this field or any type within its signature.final booleanMethodInfo.hasAnnotation(DotName name) Returns whether an annotation instance with given name is declared on this method, its parameters or any type within its signature.booleanMethodParameterInfo.hasAnnotation(DotName name) Returns whether an annotation instance with given name is declared on this method parameter or any type within its signature.final booleanModuleInfo.hasAnnotation(DotName name) final booleanRecordComponentInfo.hasAnnotation(DotName name) Returns whether an annotation instance with given name is declared on this record component or any type within its signature.final booleanType.hasAnnotation(DotName name) Returns whether an annotation instance with given name is declared on this type usage.booleanTypeTarget.hasAnnotation(DotName name) Returns whether an annotation instance with given name is declared on this type usage.booleanAnnotationTarget.hasDeclaredAnnotation(DotName name) Returns whether an annotation instance with given name is declared on this annotation target.final booleanClassInfo.hasDeclaredAnnotation(DotName name) Returns whether an annotation instance with given name is declared on this class.final booleanFieldInfo.hasDeclaredAnnotation(DotName name) Returns whether an annotation instance with given name is declared on this field.booleanMethodInfo.hasDeclaredAnnotation(DotName name) Returns whether an annotation instance with given name is declared on this method.booleanMethodParameterInfo.hasDeclaredAnnotation(DotName name) Returns whether an annotation instance with given name is declared on this method parameter.final booleanRecordComponentInfo.hasDeclaredAnnotation(DotName name) Returns whether an annotation instance with given name is declared on this record component.booleanTypeTarget.hasDeclaredAnnotation(DotName name) Returns whether an annotation instance with given name is declared on this type usage.Method parameters in org.jboss.jandex with type arguments of type DotNameModifier and TypeMethodDescriptionstatic ClassInfoClassInfo.create(DotName name, DotName superName, short flags, DotName[] interfaces, Map<DotName, List<AnnotationInstance>> annotations, boolean hasNoArgsConstructor) Deprecated.static IndexIndex.create(Map<DotName, List<AnnotationInstance>> annotations, Map<DotName, List<ClassInfo>> subclasses, Map<DotName, List<ClassInfo>> subinterfaces, Map<DotName, List<ClassInfo>> implementors, Map<DotName, ClassInfo> classes, Map<DotName, List<ClassInfo>> users) Constructs a "mock" Index using the passed values.static IndexIndex.create(Map<DotName, List<AnnotationInstance>> annotations, Map<DotName, List<ClassInfo>> subclasses, Map<DotName, List<ClassInfo>> implementors, Map<DotName, ClassInfo> classes) Constructs a "mock" Index using the passed values.static IndexIndex.create(Map<DotName, List<AnnotationInstance>> annotations, Map<DotName, List<ClassInfo>> subclasses, Map<DotName, List<ClassInfo>> implementors, Map<DotName, ClassInfo> classes, Map<DotName, List<ClassInfo>> users) Constructs a "mock" Index using the passed values.
ClassInfo.declaredAnnotation(DotName)