Modifier and Type | Method and Description |
---|---|
ClassInfo |
AnnotationTarget.asClass()
Casts and returns this target as a
ClassInfo if it is of kind CLASS |
ClassInfo |
ClassInfo.asClass() |
ClassInfo |
TypeTarget.asClass() |
ClassInfo |
FieldInfo.asClass() |
ClassInfo |
MethodInfo.asClass() |
ClassInfo |
MethodParameterInfo.asClass() |
static ClassInfo |
ClassInfo.create(DotName name,
DotName superName,
short flags,
DotName[] interfaces,
Map<DotName,List<AnnotationInstance>> annotations,
boolean hasNoArgsConstructor)
Deprecated.
|
ClassInfo |
FieldInfo.declaringClass()
Returns the class which declared the field
|
ClassInfo |
MethodInfo.declaringClass()
Returns the class that declared this method
|
ClassInfo |
ClassExtendsTypeTarget.enclosingTarget() |
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.
|
ClassInfo |
Indexer.index(InputStream stream)
Analyze and index the class file data present in the passed input stream.
|
Modifier and Type | Method and Description |
---|---|
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) |
Collection<ClassInfo> |
CompositeIndex.getKnownClasses()
Gets all known classes by this index (those which were scanned).
|
Collection<ClassInfo> |
IndexView.getKnownClasses()
Gets all known classes by this index (those which were scanned).
|
Collection<ClassInfo> |
Index.getKnownClasses()
Gets all known classes by this index (those which were scanned).
|
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 MethodInfo |
MethodInfo.create(ClassInfo clazz,
String name,
Type[] args,
Type returnType,
short flags)
Construct a new mock Method instance.
|
static FieldInfo |
FieldInfo.create(ClassInfo clazz,
String name,
Type type,
short flags)
Construct a new mock Field instance.
|
Modifier and Type | Method and Description |
---|---|
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 © 2018 JBoss by Red Hat. All rights reserved.