public interface IndexView
Modifier and Type | Method and Description |
---|---|
Collection<ClassInfo> |
getAllKnownImplementors(DotName interfaceName)
Returns all known classes that implement the given interface, directly and indirectly.
|
Collection<ClassInfo> |
getAllKnownSubclasses(DotName className)
Returns all known (including non-direct) sub classes of the given class.
|
Collection<AnnotationInstance> |
getAnnotations(DotName annotationName)
Obtains a list of instances for the specified annotation.
|
ClassInfo |
getClassByName(DotName className)
Gets the class (or interface, or annotation) that was scanned during the
indexing phase.
|
Collection<ClassInfo> |
getKnownClasses()
Gets all known classes by this index (those which were scanned).
|
Collection<ClassInfo> |
getKnownDirectImplementors(DotName className)
Gets all known direct implementors of the specified interface name.
|
Collection<ClassInfo> |
getKnownDirectSubclasses(DotName className)
Gets all known direct subclasses of the specified class name.
|
Collection<ClassInfo> getKnownClasses()
ClassInfo getClassByName(DotName className)
className
- the name of the classCollection<ClassInfo> getKnownDirectSubclasses(DotName className)
className
- the super class of the desired subclassesCollection<ClassInfo> getAllKnownSubclasses(DotName className)
className
- The classCollection<ClassInfo> getKnownDirectImplementors(DotName className)
getKnownDirectImplementors(DotName)
for every implementing
interface found.className
- the super class of the desired subclassesCollection<ClassInfo> getAllKnownImplementors(DotName interfaceName)
interfaceName
- The interfaceCollection<AnnotationInstance> getAnnotations(DotName annotationName)
annotationName
- the name of the annotation to look forCopyright © 2014 JBoss by Red Hat. All rights reserved.