public static enum ClassFilePostProcessor.NoOp extends Enum<ClassFilePostProcessor.NoOp> implements ClassFilePostProcessor
ClassFilePostProcessor.ForClassFileTransformer, ClassFilePostProcessor.NoOp| Enum Constant and Description | 
|---|
INSTANCE
The singelton instance. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
byte[] | 
transform(ClassLoader classLoader,
         String name,
         ProtectionDomain protectionDomain,
         byte[] binaryRepresentation)
Transforms a class file for a given class. 
 | 
static ClassFilePostProcessor.NoOp | 
valueOf(String name)
Returns the enum constant of this type with the specified name. 
 | 
static ClassFilePostProcessor.NoOp[] | 
values()
Returns an array containing the constants of this enum type, in
the order they are declared. 
 | 
public static final ClassFilePostProcessor.NoOp INSTANCE
public static ClassFilePostProcessor.NoOp[] values()
for (ClassFilePostProcessor.NoOp c : ClassFilePostProcessor.NoOp.values()) System.out.println(c);
public static ClassFilePostProcessor.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 byte[] transform(ClassLoader classLoader, String name, ProtectionDomain protectionDomain, byte[] binaryRepresentation)
transform in interface ClassFilePostProcessorclassLoader - The class loader which is used to load a class or null if loaded by the bootstrap loader.name - The binary name of the transformed class.protectionDomain - The protection domain of the transformed class or null if no protection domain is provided.binaryRepresentation - The binary representation of the class file.Copyright © 2014–2021. All rights reserved.