public static enum ClassGraph.CircumventEncapsulationMethod extends Enum<ClassGraph.CircumventEncapsulationMethod>
Enum Constant and Description |
---|
JVM_DRIVER
Use the JVM-Driver library to try to gain access
to private classloader fields or methods in order to determine the classpath.
|
NARCISSUS
Use the Narcissus library to try to gain access to
private classloader fields or methods in order to determine the classpath.
|
NONE
Use the reflection API and
AccessibleObject.setAccessible(boolean) to try to gain access to
private classpath fields or methods in order to determine the classpath. |
Modifier and Type | Method and Description |
---|---|
static ClassGraph.CircumventEncapsulationMethod |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ClassGraph.CircumventEncapsulationMethod[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ClassGraph.CircumventEncapsulationMethod NONE
AccessibleObject.setAccessible(boolean)
to try to gain access to
private classpath fields or methods in order to determine the classpath.public static final ClassGraph.CircumventEncapsulationMethod NARCISSUS
public static final ClassGraph.CircumventEncapsulationMethod JVM_DRIVER
public static ClassGraph.CircumventEncapsulationMethod[] values()
for (ClassGraph.CircumventEncapsulationMethod c : ClassGraph.CircumventEncapsulationMethod.values()) System.out.println(c);
public static ClassGraph.CircumventEncapsulationMethod valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2022. All rights reserved.