public class CglibProxyBytecodeTransformer extends AbstractProxyBytecodeTransformer
INIT_FIELD_PREFIX| Constructor and Description |
|---|
CglibProxyBytecodeTransformer(ClassPool classPool) |
| Modifier and Type | Method and Description |
|---|---|
protected String |
getInitCall(CtClass cc,
String initFieldName)
Builds the Java code String which should be executed to initialize the proxy
|
addInitCallToMethods, addStaticInitStateField, generateRandomString, transformpublic CglibProxyBytecodeTransformer(ClassPool classPool)
protected String getInitCall(CtClass cc, String initFieldName) throws Exception
AbstractProxyBytecodeTransformergetInitCall in class AbstractProxyBytecodeTransformercc - CtClass from new definitioninitFieldName - randomly generated StringExceptionCopyright © 2018. All rights reserved.