org.jboss.aop.instrument
Class GeneratedAdvisorConstructorExecutionTransformer
java.lang.Object
org.jboss.aop.instrument.ConstructorExecutionTransformer
org.jboss.aop.instrument.GeneratedAdvisorConstructorExecutionTransformer
public class GeneratedAdvisorConstructorExecutionTransformer
- extends ConstructorExecutionTransformer
Comment
- Version:
- $Revision$
- Author:
- Kabir Khan
Methods inherited from class org.jboss.aop.instrument.ConstructorExecutionTransformer |
addConstructorInfoField, addConstructorInfoField, buildConstructorWrappers, codeConverted, constructorFactory, constructorInfoFromWeakReference, getConstructorInfoFieldName, getInstrumentor, getWrapper, getWrapperMethod, isAdvisableConstructor, isAnyConstructorAdvised, replaceConstructorAccess, setTemporaryWrapperCode, transform, unwrap, wrap |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GeneratedAdvisorConstructorExecutionTransformer
public GeneratedAdvisorConstructorExecutionTransformer(Instrumentor instrumentor)
addInfoAsWeakReference
protected boolean addInfoAsWeakReference()
- Overrides:
addInfoAsWeakReference
in class ConstructorExecutionTransformer
markInfoAsSynthetic
protected boolean markInfoAsSynthetic()
- Overrides:
markInfoAsSynthetic
in class ConstructorExecutionTransformer
generateConstructorInfoField
protected void generateConstructorInfoField(javassist.CtClass clazz,
javassist.CtConstructor constructor,
int index)
throws javassist.CannotCompileException,
javassist.NotFoundException
- Overrides:
generateConstructorInfoField
in class ConstructorExecutionTransformer
- Throws:
javassist.CannotCompileException
javassist.NotFoundException
initialiseWrapper
protected void initialiseWrapper(int mod,
javassist.CtConstructor constructor,
int index)
throws javassist.NotFoundException,
javassist.CannotCompileException
- Overrides:
initialiseWrapper
in class ConstructorExecutionTransformer
- Throws:
javassist.NotFoundException
javassist.CannotCompileException
setEmptyWrapperCode
protected void setEmptyWrapperCode(javassist.CtConstructor constructor)
throws javassist.NotFoundException
- Description copied from class:
ConstructorExecutionTransformer
- Sets the wrapper method code as an empty wrapper, i.e., a wrapper that simply
invokes the constructor.
- Overrides:
setEmptyWrapperCode
in class ConstructorExecutionTransformer
- Throws:
javassist.NotFoundException
setEmptyWrapperCodeLater
protected void setEmptyWrapperCodeLater(javassist.CtConstructor constructor)
throws javassist.NotFoundException
- Description copied from class:
ConstructorExecutionTransformer
- Sets the wrapper method code as an empty wrapper, i.e., a wrapper that simply
invokes the constructor.
- Overrides:
setEmptyWrapperCodeLater
in class ConstructorExecutionTransformer
- Throws:
javassist.NotFoundException
createWrapper
protected void createWrapper(ConstructorExecutionTransformer.ConstructorTransformation trans)
throws javassist.CannotCompileException,
javassist.NotFoundException
- Specified by:
createWrapper
in class ConstructorExecutionTransformer
- Throws:
javassist.CannotCompileException
javassist.NotFoundException
Copyright © 2011 JBoss, a division of Red Hat, Inc.. All Rights Reserved.