org.seasar.framework.aop.javassist
クラス EnhancedClassGenerator
java.lang.Object
org.seasar.framework.aop.javassist.AbstractGenerator
org.seasar.framework.aop.javassist.EnhancedClassGenerator
- public class EnhancedClassGenerator
- extends AbstractGenerator
- 作成者:
- koichik
クラス org.seasar.framework.aop.javassist.AbstractGenerator から継承したメソッド |
createConstructor, createConstructor, createCtClass, createCtClass, createCtClass, createDefaultConstructor, createDefaultConstructor, createMethod, createMethod, createMethod, fromObject, getAndRenameCtClass, getAndRenameCtClass, getDeclaredMethod, setInterface, setInterfaces, setMethodBody, toClass, toCtClass, toCtClass, toCtClassArray, toCtClassArray, toObject |
クラス java.lang.Object から継承したメソッド |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
targetClass
protected final Class targetClass
enhancedClassName
protected final String enhancedClassName
enhancedClass
protected CtClass enhancedClass
EnhancedClassGenerator
public EnhancedClassGenerator(ClassPool classPool,
Class targetClass,
String enhancedClassName)
createTargetMethod
public void createTargetMethod(Method method,
String methodInvocationClassName)
createInvokeSuperMethod
public void createInvokeSuperMethod(Method method,
String invokeSuperMethodName)
applyInterType
public void applyInterType(InterType interType)
toClass
public Class toClass(ClassLoader classLoader)
setupClass
public void setupClass()
setupInterface
public void setupInterface()
setupConstructor
public void setupConstructor()
createTargetMethodSource
public static String createTargetMethodSource(Method method,
String methodInvocationClassName)
createInvokeSuperMethodSource
public static String createInvokeSuperMethodSource(Method method)
normalizeExceptionTypes
public static Class[] normalizeExceptionTypes(Class[] exceptionTypes)
aroundTryCatchBlock
public static String aroundTryCatchBlock(Class[] exceptionTypes,
String code)
Copyright © 2004-2007 The Seasar Foundation. All Rights Reserved.