public static enum ClassFileLocator.NoOp extends java.lang.Enum<ClassFileLocator.NoOp> implements ClassFileLocator
ClassFileLocator.AgentBased, ClassFileLocator.Compound, ClassFileLocator.ForClassLoader, ClassFileLocator.ForFolder, ClassFileLocator.ForJarFile, ClassFileLocator.ForModule, ClassFileLocator.ForModuleFile, ClassFileLocator.ForUrl, ClassFileLocator.NoOp, ClassFileLocator.PackageDiscriminating, ClassFileLocator.Resolution, ClassFileLocator.Simple
Enum Constant and Description |
---|
INSTANCE
The singleton instance.
|
CLASS_FILE_EXTENSION
Modifier and Type | Method and Description |
---|---|
void |
close() |
ClassFileLocator.Resolution |
locate(java.lang.String name)
Locates the class file for a given type and returns the binary data of the class file.
|
static ClassFileLocator.NoOp |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ClassFileLocator.NoOp[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ClassFileLocator.NoOp INSTANCE
public static ClassFileLocator.NoOp[] values()
for (ClassFileLocator.NoOp c : ClassFileLocator.NoOp.values()) System.out.println(c);
public static ClassFileLocator.NoOp valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic ClassFileLocator.Resolution locate(java.lang.String name)
locate
in interface ClassFileLocator
name
- The name of the type to locate a class file representation for.public void close()
close
in interface java.io.Closeable
close
in interface java.lang.AutoCloseable