public enum WitnessClassFinder extends Enum<WitnessClassFinder>
WitnessClassFinder represents a pool of TypePools,
each TypePool matches a ClassLoader,
which helps to find the class define existed or not.| Enum Constant and Description |
|---|
INSTANCE |
| Modifier and Type | Method and Description |
|---|---|
boolean |
exist(String witnessClass,
ClassLoader classLoader) |
static WitnessClassFinder |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static WitnessClassFinder[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final WitnessClassFinder INSTANCE
public static WitnessClassFinder[] values()
for (WitnessClassFinder c : WitnessClassFinder.values()) System.out.println(c);
public static WitnessClassFinder 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 nullpublic boolean exist(String witnessClass, ClassLoader classLoader)
witnessClass - classLoader - for finding the witnessClassCopyright © 2019 The Apache Software Foundation. All rights reserved.