Package org.reflections.scanners
Enum Class Scanners
- All Implemented Interfaces:
Serializable
,Comparable<Scanners>
,Constable
,Scanner
,NameHelper
,QueryBuilder
base Reflections
Scanner
s such as:
SubTypes
TypesAnnotated
MethodsAnnotated
ConstructorsAnnotated
FieldsAnnotated
Resources
MethodsParameter
ConstructorsParameter
MethodsSignature
ConstructorsSignature
MethodsReturn
Configuration
in order to be queried-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionscan constructor annotationsscan constructor parameters types and annotationsscan constructors signaturescan field annotationsscan method annotationsscan method parameters types and annotationsscan method return typescan methods signaturescan non .class files such as xml or properties filesscan type superclasses and interfacesscan type annotations -
Field Summary
FieldsFields inherited from interface org.reflections.util.NameHelper
primitiveDescriptors, primitiveNames, primitiveTypes
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
acceptResult
(String fqn) filterResultsBy
(Predicate<String> filter) index()
unique index name for scannerscan
(javassist.bytecode.ClassFile classFile) scan the givenclassFile
and produces list ofMap.Entry
key/values(package private) abstract void
static Scanners
Returns the enum constant of this class with the specified name.static Scanners[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.Methods inherited from class java.lang.Enum
clone, compareTo, describeConstable, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
Methods inherited from interface org.reflections.util.NameHelper
forClass, forConstructor, forElement, forField, forMember, forMethod, forName, forNames, forNames, toName, toName, toName, toName, toName, toNames, toNames
-
Enum Constant Details
-
SubTypes
scan type superclasses and interfaces Note thatObject
class is excluded by default, in order to reduce store size.
UsefilterResultsBy(Predicate)
to change, for exampleSubTypes.filterResultsBy(c -> true)
-
TypesAnnotated
scan type annotations -
MethodsAnnotated
scan method annotations -
ConstructorsAnnotated
scan constructor annotations -
FieldsAnnotated
scan field annotations -
Resources
scan non .class files such as xml or properties files -
MethodsParameter
scan method parameters types and annotations -
ConstructorsParameter
scan constructor parameters types and annotations -
MethodsSignature
scan methods signature -
ConstructorsSignature
scan constructors signature -
MethodsReturn
scan method return type
-
-
Field Details
-
resultFilter
-
-
Constructor Details
-
Scanners
private Scanners()
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-
index
Description copied from interface:Scanner
unique index name for scanner- Specified by:
index
in interfaceQueryBuilder
- Specified by:
index
in interfaceScanner
-
filterResultsBy
-
scan
Description copied from interface:Scanner
scan the givenclassFile
and produces list ofMap.Entry
key/values -
scan
-
acceptResult
-