public class GeneratedAdvisorConstructorExecutionTransformer extends ConstructorExecutionTransformer
ConstructorExecutionTransformer.ConstructorTransformation
codifier, CONSTRUCTOR_INFO_CLASS_NAME, CONSTRUCTOR_STATUS, instrumentor
Constructor and Description |
---|
GeneratedAdvisorConstructorExecutionTransformer(Instrumentor instrumentor) |
Modifier and Type | Method and Description |
---|---|
protected boolean |
addInfoAsWeakReference() |
protected void |
createWrapper(ConstructorExecutionTransformer.ConstructorTransformation trans) |
protected void |
generateConstructorInfoField(javassist.CtClass clazz,
javassist.CtConstructor constructor,
int index) |
protected void |
initialiseWrapper(int mod,
javassist.CtConstructor constructor,
int index) |
protected boolean |
markInfoAsSynthetic() |
protected void |
setEmptyWrapperCode(javassist.CtConstructor constructor)
Sets the wrapper method code as an empty wrapper, i.e., a wrapper that simply
invokes the constructor.
|
protected void |
setEmptyWrapperCodeLater(javassist.CtConstructor constructor)
Sets the wrapper method code as an empty wrapper, i.e., a wrapper that simply
invokes the constructor.
|
addConstructorInfoField, addConstructorInfoField, buildConstructorWrappers, codeConverted, constructorFactory, constructorInfoFromWeakReference, getConstructorInfoFieldName, getInstrumentor, getWrapper, getWrapperMethod, isAdvisableConstructor, isAnyConstructorAdvised, replaceConstructorAccess, setTemporaryWrapperCode, transform, unwrap, wrap
public GeneratedAdvisorConstructorExecutionTransformer(Instrumentor instrumentor)
protected boolean addInfoAsWeakReference()
addInfoAsWeakReference
in class ConstructorExecutionTransformer
protected boolean markInfoAsSynthetic()
markInfoAsSynthetic
in class ConstructorExecutionTransformer
protected void generateConstructorInfoField(javassist.CtClass clazz, javassist.CtConstructor constructor, int index) throws javassist.CannotCompileException, javassist.NotFoundException
generateConstructorInfoField
in class ConstructorExecutionTransformer
javassist.CannotCompileException
javassist.NotFoundException
protected void initialiseWrapper(int mod, javassist.CtConstructor constructor, int index) throws javassist.NotFoundException, javassist.CannotCompileException
initialiseWrapper
in class ConstructorExecutionTransformer
javassist.NotFoundException
javassist.CannotCompileException
protected void setEmptyWrapperCode(javassist.CtConstructor constructor) throws javassist.NotFoundException
ConstructorExecutionTransformer
setEmptyWrapperCode
in class ConstructorExecutionTransformer
javassist.NotFoundException
protected void setEmptyWrapperCodeLater(javassist.CtConstructor constructor) throws javassist.NotFoundException
ConstructorExecutionTransformer
setEmptyWrapperCodeLater
in class ConstructorExecutionTransformer
javassist.NotFoundException
protected void createWrapper(ConstructorExecutionTransformer.ConstructorTransformation trans) throws javassist.CannotCompileException, javassist.NotFoundException
createWrapper
in class ConstructorExecutionTransformer
javassist.CannotCompileException
javassist.NotFoundException
Copyright © 2013 JBoss, a division of Red Hat, Inc.. All Rights Reserved.