AnnotationInstance |
FieldInfo.annotation(DotName name) |
Retrieves an annotation instance declared on this field.
|
AnnotationInstance |
MethodInfo.annotation(DotName name) |
Retrieves an annotation instance declared on this method, it parameters, or any type within the signature
of the method, by the name of the annotation.
|
AnnotationInstance |
ModuleInfo.annotation(DotName name) |
|
AnnotationInstance |
RecordComponentInfo.annotation(DotName name) |
Retrieves an annotation instance declared on this field.
|
AnnotationInstance |
Type.annotation(DotName name) |
|
List<AnnotationInstance> |
MethodInfo.annotations(DotName name) |
Retrieves annotations declared on this method, by the name of the annotation.
|
List<AnnotationInstance> |
FieldInfo.annotationsWithRepeatable(DotName name,
IndexView index) |
Retrieves annotation instances declared on this field, by the name of the annotation.
|
List<AnnotationInstance> |
MethodInfo.annotationsWithRepeatable(DotName name,
IndexView index) |
Retrieves annotations declared on this method, by the name of the annotation.
|
List<AnnotationInstance> |
ModuleInfo.annotationsWithRepeatable(DotName name,
IndexView index) |
|
List<AnnotationInstance> |
RecordComponentInfo.annotationsWithRepeatable(DotName name,
IndexView index) |
Retrieves annotation instances declared on this field, by the name of the annotation.
|
AnnotationInstance |
ClassInfo.classAnnotation(DotName name) |
Returns the annotation with the specified name directly declared on this class.
|
List<AnnotationInstance> |
ClassInfo.classAnnotationsWithRepeatable(DotName name,
IndexView index) |
Retrieves annotation instances declared on this class, by the name of the annotation.
|
int |
DotName.compareTo(DotName other) |
Compares a DotName to another DotName and returns whether this DotName
is lesser than, greater than, or equal to the specified DotName.
|
static AnnotationInstance |
AnnotationInstance.create(DotName name,
AnnotationTarget target,
List<AnnotationValue> values) |
Construct a new mock annotation instance.
|
static AnnotationInstance |
AnnotationInstance.create(DotName name,
AnnotationTarget target,
AnnotationValue[] values) |
Construct a new mock annotation instance.
|
static ClassInfo |
ClassInfo.create(DotName name,
DotName superName,
short flags,
DotName[] interfaces,
Map<DotName,List<AnnotationInstance>> annotations,
boolean hasNoArgsConstructor) |
Deprecated.
|
static ParameterizedType |
ParameterizedType.create(DotName name,
Type[] arguments,
Type owner) |
Create a new mock instance.
|
static Type |
Type.create(DotName name,
Type.Kind kind) |
Creates a type instance of the specified kind.
|
static DotName |
DotName.createComponentized(DotName prefix,
String localName) |
Constructs a componentized DotName.
|
static DotName |
DotName.createComponentized(DotName prefix,
String localName,
boolean innerClass) |
Constructs a componentized DotName.
|
static AnnotationValue |
AnnotationValue.createEnumValue(String name,
DotName typeName,
String value) |
|
Set<ClassInfo> |
CompositeIndex.getAllKnownImplementors(DotName interfaceName) |
Returns all known classes that implement the given interface, directly and indirectly.
|
Set<ClassInfo> |
Index.getAllKnownImplementors(DotName interfaceName) |
|
Collection<ClassInfo> |
IndexView.getAllKnownImplementors(DotName interfaceName) |
Returns all known classes that implement the given interface, directly and indirectly.
|
Set<ClassInfo> |
CompositeIndex.getAllKnownSubclasses(DotName className) |
Returns all known (including non-direct) sub classes of the given class.
|
Collection<ClassInfo> |
Index.getAllKnownSubclasses(DotName className) |
|
Collection<ClassInfo> |
IndexView.getAllKnownSubclasses(DotName className) |
Returns all known (including non-direct) sub classes of the given class.
|
List<AnnotationInstance> |
CompositeIndex.getAnnotations(DotName annotationName) |
Obtains a list of instances for the specified annotation.
|
List<AnnotationInstance> |
Index.getAnnotations(DotName annotationName) |
Obtains a list of instances for the specified annotation.
|
Collection<AnnotationInstance> |
IndexView.getAnnotations(DotName annotationName) |
Obtains a list of instances for the specified annotation.
|
Collection<AnnotationInstance> |
CompositeIndex.getAnnotationsWithRepeatable(DotName annotationName,
IndexView index) |
Obtains a list of instances for the specified annotation.
|
Collection<AnnotationInstance> |
Index.getAnnotationsWithRepeatable(DotName annotationName,
IndexView index) |
Obtains a list of instances for the specified annotation.
|
Collection<AnnotationInstance> |
IndexView.getAnnotationsWithRepeatable(DotName annotationName,
IndexView index) |
Obtains a list of instances for the specified annotation.
|
ClassInfo |
CompositeIndex.getClassByName(DotName className) |
Gets the class (or interface, or annotation) that was scanned during the
indexing phase.
|
ClassInfo |
Index.getClassByName(DotName className) |
Gets the class (or interface, or annotation) that was scanned during the
indexing phase.
|
ClassInfo |
IndexView.getClassByName(DotName className) |
Gets the class (or interface, or annotation) that was scanned during the
indexing phase.
|
Collection<ClassInfo> |
CompositeIndex.getKnownDirectImplementors(DotName className) |
Gets all known direct implementors of the specified interface name.
|
List<ClassInfo> |
Index.getKnownDirectImplementors(DotName className) |
Gets all known direct implementors of the specified interface name.
|
Collection<ClassInfo> |
IndexView.getKnownDirectImplementors(DotName className) |
Gets all known direct implementors of the specified interface name.
|
Set<ClassInfo> |
CompositeIndex.getKnownDirectSubclasses(DotName className) |
Gets all known direct subclasses of the specified class name.
|
List<ClassInfo> |
Index.getKnownDirectSubclasses(DotName className) |
Gets all known direct subclasses of the specified class name.
|
Collection<ClassInfo> |
IndexView.getKnownDirectSubclasses(DotName className) |
Gets all known direct subclasses of the specified class name.
|
Collection<ClassInfo> |
CompositeIndex.getKnownUsers(DotName className) |
Obtains a list of classes that use the specified class.
|
List<ClassInfo> |
Index.getKnownUsers(DotName className) |
Obtains a list of classes that use the specified class.
|
Collection<ClassInfo> |
IndexView.getKnownUsers(DotName className) |
Obtains a list of classes that use the specified class.
|
ModuleInfo |
CompositeIndex.getModuleByName(DotName moduleName) |
Gets the module that was scanned during the indexing phase.
|
ModuleInfo |
Index.getModuleByName(DotName moduleName) |
Gets the module that was scanned during the indexing phase.
|
ModuleInfo |
IndexView.getModuleByName(DotName moduleName) |
Gets the module that was scanned during the indexing phase.
|
boolean |
FieldInfo.hasAnnotation(DotName name) |
Returns whether or not the annotation instance with the given name occurs on this field
|
boolean |
MethodInfo.hasAnnotation(DotName name) |
Returns whether or not the annotation instance with the given name occurs on this method, its parameters
or its signature
|
boolean |
RecordComponentInfo.hasAnnotation(DotName name) |
Returns whether or not the annotation instance with the given name occurs on this field
|
boolean |
Type.hasAnnotation(DotName name) |
|