Package org.reflections.scanners
Interface Scanner
-
- All Known Implementing Classes:
AbstractScanner
,FieldAnnotationsScanner
,MemberUsageScanner
,MethodAnnotationsScanner
,MethodParameterNamesScanner
,MethodParameterScanner
,ResourcesScanner
,Scanners
,SubTypesScanner
,TypeAnnotationsScanner
,TypeElementsScanner
public interface Scanner
Scannerscan(ClassFile)
method receives aClassFile
and produce a list ofMap.Entry
. These key/values will be stored underindex()
for querying.
see more inScanners
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default boolean
acceptsInput(String file)
default List<Map.Entry<String,String>>
entries(String key, String value)
default List<Map.Entry<String,String>>
entries(String key, Collection<String> values)
default List<Map.Entry<String,String>>
entries(Collection<String> keys, String value)
default Map.Entry<String,String>
entry(String key, String value)
default String
index()
unique index name for scannerList<Map.Entry<String,String>>
scan(javassist.bytecode.ClassFile classFile)
scan the givenclassFile
and produces list ofMap.Entry
key/valuesdefault List<Map.Entry<String,String>>
scan(Vfs.File file)
scan the givenfile
and produces list ofMap.Entry
key/values
-
-
-
Method Detail
-
scan
List<Map.Entry<String,String>> scan(javassist.bytecode.ClassFile classFile)
scan the givenclassFile
and produces list ofMap.Entry
key/values
-
scan
@Nullable default List<Map.Entry<String,String>> scan(Vfs.File file)
scan the givenfile
and produces list ofMap.Entry
key/values
-
index
default String index()
unique index name for scanner
-
acceptsInput
default boolean acceptsInput(String file)
-
-