- <init>
Construct a ClassGraph instance.
- scan
- whitelistPackages
Scan one or more specific packages and their sub-packages. N.B. Automatically
calls #enableClassInfo
- enableAllInfo
Enables the scanning of all classes, fields, methods, annotations, and static
final field constant i
- enableAnnotationInfo
Enables the saving of annotation info (for class, field, method and method
parameter annotations) du
- overrideClasspath
Override the automatically-detected classpath with a custom path. Causes system
ClassLoaders and the
- enableClassInfo
Enables the scanning of classfiles, producing ClassInfo objects in the
ScanResult.
- verbose
Switches on verbose logging to System.err.
- enableFieldInfo
Enables the saving of field info during the scan. This information can be
obtained using ClassInfo#g
- enableMethodInfo
Enables the saving of method info during the scan. This information can be
obtained using ClassInfo#
- ignoreFieldVisibility
Causes field visibility to be ignored, enabling private, package-private and
protected fields to be
- ignoreMethodVisibility
Causes method visibility to be ignored, enabling private, package-private and
protected methods to b