public class MethodInvocationClassGenerator extends AbstractGenerator
| 修飾子とタイプ | クラスと説明 |
|---|---|
static class |
MethodInvocationClassGenerator.MethodInvocationTemplate |
| 修飾子とタイプ | フィールドと説明 |
|---|---|
protected String |
enhancedClassName |
protected javassist.CtClass |
methodInvocationClass |
classPool, DEFINE_CLASS_METHOD_NAME, defineClassMethod, protectionDomain| コンストラクタと説明 |
|---|
MethodInvocationClassGenerator(javassist.ClassPool classPool,
String invocationClassName,
String targetClassName) |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
static String |
createArgumentString(Class<?>[] argTypes) |
static String |
createArgumentTypeString(Class<?>[] argTypes) |
void |
createProceedMethod(Method targetMethod,
String invokeSuperMethodName) |
static String |
createProceedMethodSource(Method targetMethod,
String enhancedClassName,
String invokeSuperMethodName) |
static String |
createReturnStatement(Method targetMethod,
String enhancedClassName,
String invokeSuperMethodName) |
static String |
createThrowStatement(Method targetMethod,
String enhancedClassName) |
Class<?> |
toClass(ClassLoader classLoader) |
createConstructor, createConstructor, createCtClass, createCtClass, createCtClass, createDefaultConstructor, createDefaultConstructor, createMethod, createMethod, createMethod, fromObject, getAndRenameCtClass, getAndRenameCtClass, getDeclaredMethod, setInterface, setInterfaces, setMethodBody, toClass, toCtClass, toCtClass, toCtClassArray, toCtClassArray, toObjectprotected final String enhancedClassName
protected javassist.CtClass methodInvocationClass
public void createProceedMethod(Method targetMethod, String invokeSuperMethodName)
public Class<?> toClass(ClassLoader classLoader)
public static String createProceedMethodSource(Method targetMethod, String enhancedClassName, String invokeSuperMethodName)
public static String createReturnStatement(Method targetMethod, String enhancedClassName, String invokeSuperMethodName)
public static String createThrowStatement(Method targetMethod, String enhancedClassName)
Copyright © 2015–2018 The DBFlute Project. All rights reserved.