public static enum ClassFileLocator.NoOp extends 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(String name)
Locates the class file for a given type and returns the binary data of the class file.
|
static ClassFileLocator.NoOp |
valueOf(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(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 ClassFileLocator.Resolution locate(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 Closeable
close
in interface AutoCloseable
Copyright © 2014–2020. All rights reserved.