public static enum ClassFileLocator.Default extends Enum<ClassFileLocator.Default> implements ClassFileLocator
ClassFileLocator
.ClassFileLocator.Compound, ClassFileLocator.Default
Enum Constant and Description |
---|
ATTACHED
Locates a class file from a
ClassLoader 's resource lookup. |
CLASS_PATH
Locates a class file from the class path.
|
CLASS_FILE_EXTENSION
Modifier and Type | Method and Description |
---|---|
static ClassFileLocator.Default |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ClassFileLocator.Default[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
classFileFor
public static final ClassFileLocator.Default CLASS_PATH
public static final ClassFileLocator.Default ATTACHED
ClassLoader
's resource lookup. This is only possible if a
type is described by a loaded Class
.public static ClassFileLocator.Default[] values()
for (ClassFileLocator.Default c : ClassFileLocator.Default.values()) System.out.println(c);
public static ClassFileLocator.Default 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 © 2014. All rights reserved.