@NotStorableClass public final class PersistableCodeGenerator extends Object
| Modifier and Type | Method and Description |
|---|---|
String[] |
classFromProperties() |
byte[] |
generate(String className,
byte[] originalCode,
int off,
int len)
generate transformed byte code of original byte code
|
static PersistableCodeGenerator |
getInstance() |
EnumTransformationType |
getTransformationAttribute() |
boolean |
isTransformed() |
public static PersistableCodeGenerator getInstance() throws IOException
IOExceptionpublic byte[] generate(String className, byte[] originalCode, int off, int len)
className - originalCode - the bytecode of the class to be transform.off - the start offset of the class data.len - the length of the class data.public boolean isTransformed()
public EnumTransformationType getTransformationAttribute()
public String[] classFromProperties()
Copyright © 2007-2012 Luc Peuvrier. All Rights Reserved.