public class OptimizedConstructionInvocations extends OptimizedBehaviourInvocations
ENFORCE_ARGS_CONSISTENCY, INVOKE_TARGET
Constructor and Description |
---|
OptimizedConstructionInvocations() |
Modifier and Type | Method and Description |
---|---|
protected static void |
addCopy(javassist.CtClass invocation,
javassist.CtClass[] params) |
protected static String |
createOptimizedInvocationClass(Instrumentor instrumentor,
javassist.CtClass clazz,
javassist.CtConstructor con,
int index) |
protected static String |
getOptimizedInvocationClassName(javassist.CtClass declaringClazz,
int constructorIndex)
Returns the name of the optimized Invocation class.
|
addArgumentFieldsAndAccessors, addDispatch, setArguments
defrostClassIfExists, makeInvocationClass, makeInvocationClassNoCtors
protected static String getOptimizedInvocationClassName(javassist.CtClass declaringClazz, int constructorIndex)
declaringClazz
- the class that contains the constructor.constructorIndex
- the index of the constructor.protected static String createOptimizedInvocationClass(Instrumentor instrumentor, javassist.CtClass clazz, javassist.CtConstructor con, int index) throws Exception
Exception
Copyright © 2013 JBoss, a division of Red Hat, Inc.. All Rights Reserved.