public class FieldTransformer extends Object
Modifier and Type | Method and Description |
---|---|
void |
transform(javassist.bytecode.ClassFile classFile)
Transform the class defined by the given ClassFile descriptor.
|
void |
transform(File file)
Transform the class contained in the given file, writing the result back to the same file.
|
public void transform(File file) throws Exception
file
- The file containing the class to be transformedException
- Indicates a problem performing the transformationpublic void transform(javassist.bytecode.ClassFile classFile) throws Exception
classFile
- The class file descriptorException
- Indicates a problem performing the transformationCopyright © 2016 JBoss by Red Hat. All rights reserved.