public class GwtLinkerClassHider extends Object implements ClassFileTransformer
Constructor and Description |
---|
GwtLinkerClassHider(boolean debug) |
Modifier and Type | Method and Description |
---|---|
byte[] |
transform(ClassLoader loader,
String className,
Class<?> classBeingRedefined,
ProtectionDomain protectionDomain,
byte[] classfileBuffer)
Generates a class with a no-args public constructor.
|
public byte[] transform(ClassLoader loader, String className, Class<?> classBeingRedefined, ProtectionDomain protectionDomain, byte[] classfileBuffer) throws IllegalClassFormatException
transform
in interface ClassFileTransformer
loader
- ignored.className
- The generated class has this package and name.classBeingRedefined
- ignored.protectionDomain
- ignored.classfileBuffer
- ignored.className
parameter.IllegalClassFormatException
Copyright © 2013-2015 JBoss, a division of Red Hat. All Rights Reserved.