Package org.reflections
Interface Configuration
-
- All Known Implementing Classes:
ConfigurationBuilder
public interface Configuration
Configuration is used to create a configured instance ofReflections
it is preferred to use
ConfigurationBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ClassLoader[]
getClassLoaders()
get class loaders, might be used for resolving methods/fieldsExecutorService
getExecutorService()
executor service used to scan files.Predicate<String>
getInputsFilter()
get the fully qualified name filter used to filter types to be scannedMetadataAdapter
getMetadataAdapter()
the metadata adapter used to fetch metadata from classesSet<Scanner>
getScanners()
the scanner instances used for scanning different metadataSerializer
getSerializer()
the default serializer to use when saving ReflectionSet<URL>
getUrls()
the urls to be scannedboolean
shouldExpandSuperTypes()
if true (default), expand super types after scanning, for super types that were not scanned.
-
-
-
Method Detail
-
getMetadataAdapter
MetadataAdapter getMetadataAdapter()
the metadata adapter used to fetch metadata from classes
-
getInputsFilter
Predicate<String> getInputsFilter()
get the fully qualified name filter used to filter types to be scanned
-
getExecutorService
ExecutorService getExecutorService()
executor service used to scan files. if null, scanning is done in a simple for loop
-
getSerializer
Serializer getSerializer()
the default serializer to use when saving Reflection
-
getClassLoaders
ClassLoader[] getClassLoaders()
get class loaders, might be used for resolving methods/fields
-
shouldExpandSuperTypes
boolean shouldExpandSuperTypes()
if true (default), expand super types after scanning, for super types that were not scanned.
-
-