Modifier and Type | Method and Description |
---|---|
DotName |
AnnotationValue.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 DotName |
DotName.createComponentized(DotName prefix,
String localName)
Constructs a componentized DotName.
|
static DotName |
DotName.createSimple(String name)
Constructs a simple DotName which stores the string in it's entirety.
|
DotName[] |
ClassInfo.interfaces() |
DotName |
AnnotationInstance.name()
The name of this annotation in DotName form.
|
DotName |
Type.name()
Returns the name of this type.
|
DotName |
ClassInfo.name() |
DotName |
DotName.prefix()
Returns the parent prefix for this DotName or null if there is none.
|
DotName |
ClassInfo.superName() |
Modifier and Type | Method and Description |
---|---|
Map<DotName,List<AnnotationInstance>> |
ClassInfo.annotations() |
Modifier and Type | Method and Description |
---|---|
int |
DotName.compareTo(DotName other) |
static AnnotationInstance |
AnnotationInstance.create(DotName name,
AnnotationTarget target,
AnnotationValue[] values)
Construct a new mock annotation instance.
|
static AnnotationInstance |
AnnotationInstance.create(DotName name,
AnnotationTarget target,
List<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)
Constructs a "mock" ClassInfo using the passed values.
|
static ClassInfo |
ClassInfo.create(DotName name,
DotName superName,
short flags,
DotName[] interfaces,
Map<DotName,List<AnnotationInstance>> annotations)
Constructs a "mock" ClassInfo using the passed values.
|
static Type |
Type.create(DotName name,
Type.Kind kind) |
static DotName |
DotName.createComponentized(DotName prefix,
String localName)
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.
|
Collection<ClassInfo> |
IndexView.getAllKnownImplementors(DotName interfaceName)
Returns all known classes that implement the given interface, directly and indirectly.
|
Set<ClassInfo> |
Index.getAllKnownImplementors(DotName interfaceName) |
Set<ClassInfo> |
CompositeIndex.getAllKnownSubclasses(DotName className)
Returns all known (including non-direct) sub classes of the given class.
|
Collection<ClassInfo> |
IndexView.getAllKnownSubclasses(DotName className)
Returns all known (including non-direct) sub classes of the given class.
|
Collection<ClassInfo> |
Index.getAllKnownSubclasses(DotName className) |
List<AnnotationInstance> |
CompositeIndex.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.
|
List<AnnotationInstance> |
Index.getAnnotations(DotName annotationName)
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 |
IndexView.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.
|
Collection<ClassInfo> |
CompositeIndex.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.
|
List<ClassInfo> |
Index.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.
|
Collection<ClassInfo> |
IndexView.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.
|
Modifier and Type | Method and Description |
---|---|
static ClassInfo |
ClassInfo.create(DotName name,
DotName superName,
short flags,
DotName[] interfaces,
Map<DotName,List<AnnotationInstance>> annotations)
Constructs a "mock" ClassInfo using the passed values.
|
static Index |
Index.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 Index |
Index.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 Index |
Index.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 Index |
Index.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.
|
Copyright © 2014 JBoss by Red Hat. All rights reserved.