class CtNewWrappedMethod
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
private static java.lang.String |
addedWrappedMethod |
| Constructor and Description |
|---|
CtNewWrappedMethod() |
| Modifier and Type | Method and Description |
|---|---|
private static java.lang.String |
addBodyMethod(CtClassType clazz,
ClassFile classfile,
CtMethod src) |
private static void |
checkSignature(CtMethod wrappedBody,
java.lang.String descriptor) |
(package private) static int |
compileParameterList(Bytecode code,
CtClass[] params,
int regno) |
private static void |
compileReturn(Bytecode code,
CtClass type) |
(package private) static Bytecode |
makeBody(CtClass clazz,
ClassFile classfile,
CtMethod wrappedBody,
CtClass[] parameters,
CtClass returnType,
CtMethod.ConstParameter cparam) |
protected static int |
makeBody0(CtClass clazz,
ClassFile classfile,
CtMethod wrappedBody,
boolean isStatic,
CtClass[] parameters,
CtClass returnType,
CtMethod.ConstParameter cparam,
Bytecode code) |
static CtMethod |
wrapped(CtClass returnType,
java.lang.String mname,
CtClass[] parameterTypes,
CtClass[] exceptionTypes,
CtMethod body,
CtMethod.ConstParameter constParam,
CtClass declaring) |
private static final java.lang.String addedWrappedMethod
public static CtMethod wrapped(CtClass returnType, java.lang.String mname, CtClass[] parameterTypes, CtClass[] exceptionTypes, CtMethod body, CtMethod.ConstParameter constParam, CtClass declaring) throws CannotCompileException
CannotCompileExceptionstatic Bytecode makeBody(CtClass clazz, ClassFile classfile, CtMethod wrappedBody, CtClass[] parameters, CtClass returnType, CtMethod.ConstParameter cparam) throws CannotCompileException
CannotCompileExceptionprotected static int makeBody0(CtClass clazz, ClassFile classfile, CtMethod wrappedBody, boolean isStatic, CtClass[] parameters, CtClass returnType, CtMethod.ConstParameter cparam, Bytecode code) throws CannotCompileException
CannotCompileExceptionprivate static void checkSignature(CtMethod wrappedBody, java.lang.String descriptor) throws CannotCompileException
CannotCompileExceptionprivate static java.lang.String addBodyMethod(CtClassType clazz, ClassFile classfile, CtMethod src) throws BadBytecode, CannotCompileException
BadBytecodeCannotCompileException