|
|||||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | ||||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | ||||||||||
java.lang.Objectorg.seasar.framework.aop.javassist.AbstractGenerator
org.seasar.framework.aop.javassist.MethodInvocationClassGenerator
MethodInvocationをエンハンスするクラスです。
| 入れ子クラスの概要 | |
static class |
MethodInvocationClassGenerator.MethodInvocationTemplate
MethodInvocationのテンプレートです。 |
| フィールドの概要 | |
protected String |
enhancedClassName
|
protected CtClass |
methodInvocationClass
|
| クラス org.seasar.framework.aop.javassist.AbstractGenerator から継承したフィールド |
classPool, DEFINE_CLASS_METHOD_NAME, defineClassMethod, protectionDomain |
| コンストラクタの概要 | |
MethodInvocationClassGenerator(ClassPool classPool,
String invocationClassName,
String targetClassName)
MethodInvocationClassGeneratorを作成します。 |
|
| メソッドの概要 | |
static String |
createArgumentString(Class[] argTypes)
引数用のソースを作成します。 |
static String |
createArgumentTypeString(Class[] argTypes)
引数の型用のソースを作成します。 |
void |
createProceedMethod(Method targetMethod,
String invokeSuperMethodName)
proceedメソッドを作成します。 |
static String |
createProceedMethodSource(Method targetMethod,
String enhancedClassName,
String invokeSuperMethodName)
proceedメソッドのソースを作成します。 |
static String |
createReturnStatement(Method targetMethod,
String enhancedClassName,
String invokeSuperMethodName)
return文用のソースを作成します。 |
static String |
createThrowStatement(Method targetMethod,
String enhancedClassName)
throws句用のソースを作成します。 |
Class |
toClass(ClassLoader classLoader)
CtClassをClassに変換します。 |
| クラス 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 |
| フィールドの詳細 |
protected final String enhancedClassName
protected CtClass methodInvocationClass
| コンストラクタの詳細 |
public MethodInvocationClassGenerator(ClassPool classPool,
String invocationClassName,
String targetClassName)
MethodInvocationClassGeneratorを作成します。
classPool - invocationClassName - targetClassName - | メソッドの詳細 |
public void createProceedMethod(Method targetMethod,
String invokeSuperMethodName)
targetMethod - invokeSuperMethodName - public Class toClass(ClassLoader classLoader)
CtClassをClassに変換します。
classLoader -
public static String createProceedMethodSource(Method targetMethod,
String enhancedClassName,
String invokeSuperMethodName)
proceedメソッドのソースを作成します。
targetMethod - enhancedClassName - invokeSuperMethodName -
proceedメソッドのソース
public static String createReturnStatement(Method targetMethod,
String enhancedClassName,
String invokeSuperMethodName)
return文用のソースを作成します。
targetMethod - enhancedClassName - invokeSuperMethodName -
return文用のソース
public static String createThrowStatement(Method targetMethod,
String enhancedClassName)
throws句用のソースを作成します。
targetMethod - enhancedClassName -
throws句用のソースpublic static String createArgumentString(Class[] argTypes)
argTypes -
public static String createArgumentTypeString(Class[] argTypes)
argTypes -
|
|||||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | ||||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | ||||||||||