org.jboss.aop.instrument
Class OptimizedConstructionInvocations
java.lang.Object
org.jboss.aop.instrument.OptimizedInvocations
org.jboss.aop.instrument.OptimizedBehaviourInvocations
org.jboss.aop.instrument.OptimizedConstructionInvocations
public class OptimizedConstructionInvocations
- extends OptimizedBehaviourInvocations
Comment
- Version:
- $Revision$
- Author:
- Kabir Khan
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
OptimizedConstructionInvocations
public OptimizedConstructionInvocations()
getOptimizedInvocationClassName
protected static String getOptimizedInvocationClassName(javassist.CtClass declaringClazz,
int constructorIndex)
- Returns the name of the optimized Invocation class.
- Parameters:
declaringClazz
- the class that contains the constructor.constructorIndex
- the index of the constructor.
- Returns:
- the name of the optimized Invocation class.
createOptimizedInvocationClass
protected static String createOptimizedInvocationClass(Instrumentor instrumentor,
javassist.CtClass clazz,
javassist.CtConstructor con,
int index)
throws Exception
- Throws:
Exception
addCopy
protected static void addCopy(javassist.CtClass invocation,
javassist.CtClass[] params)
throws Exception
- Throws:
Exception
Copyright © 2012 JBoss, a division of Red Hat, Inc.. All Rights Reserved.