public final class ScanResult extends Object
Constructor and Description |
---|
ScanResult(Collection<String> scannedPackages,
Collection<String> scannedClasses,
Collection<String> scannedAnnotations,
Collection<AnnotatedClassDescriptor> annotatedClasses,
Collection<ParentClassDescriptor> implementations) |
Modifier and Type | Method and Description |
---|---|
List<AnnotatedClassDescriptor> |
getAnnotatedClasses() |
List<AnnotatedClassDescriptor> |
getAnnotatedClasses(String c) |
List<ParentClassDescriptor> |
getImplementations() |
<T> Set<Class<? extends T>> |
getImplementations(Class<T> c)
Loads all the scanned classes for this parent as a side effect
|
ParentClassDescriptor |
getImplementations(String c) |
Set<String> |
getScannedAnnotations() |
Set<String> |
getScannedClasses() |
List<String> |
getScannedPackages() |
ScanResult |
merge(ScanResult other)
merges this and other together into a new result object
|
String |
toString() |
public ScanResult(Collection<String> scannedPackages, Collection<String> scannedClasses, Collection<String> scannedAnnotations, Collection<AnnotatedClassDescriptor> annotatedClasses, Collection<ParentClassDescriptor> implementations)
public List<String> getScannedPackages()
public List<AnnotatedClassDescriptor> getAnnotatedClasses()
public List<ParentClassDescriptor> getImplementations()
public ParentClassDescriptor getImplementations(String c)
c
- the parent class namepublic <T> Set<Class<? extends T>> getImplementations(Class<T> c)
c
- the parentpublic List<AnnotatedClassDescriptor> getAnnotatedClasses(String c)
c
- the annotation class namepublic ScanResult merge(ScanResult other)
other
- Copyright © 1970 The Apache Software Foundation. All rights reserved.