public interface Scanner
scan(ClassFile)
method receives a ClassFile
and produce a list of Map.Entry
.
These key/values will be stored under index()
for querying.
Scanners
Modifier and Type | Method and Description |
---|---|
default boolean |
acceptsInput(String file) |
default List<Map.Entry<String,String>> |
entries(Collection<String> keys,
String value) |
default List<Map.Entry<String,String>> |
entries(String key,
Collection<String> values) |
default List<Map.Entry<String,String>> |
entries(String key,
String value) |
default Map.Entry<String,String> |
entry(String key,
String value) |
default String |
index()
unique index name for scanner
|
List<Map.Entry<String,String>> |
scan(javassist.bytecode.ClassFile classFile)
scan the given
classFile and produces list of Map.Entry key/values |
default List<Map.Entry<String,String>> |
scan(Vfs.File file)
scan the given
file and produces list of Map.Entry key/values |
List<Map.Entry<String,String>> scan(javassist.bytecode.ClassFile classFile)
classFile
and produces list of Map.Entry
key/values@Nullable default List<Map.Entry<String,String>> scan(Vfs.File file)
file
and produces list of Map.Entry
key/valuesdefault String index()
default boolean acceptsInput(String file)
Copyright © 2021. All rights reserved.