Package | Description |
---|---|
javassist |
The Javassist Core API.
|
Modifier and Type | Class and Description |
---|---|
(package private) static class |
CtMethod.IntConstParameter |
(package private) static class |
CtMethod.LongConstParameter |
(package private) static class |
CtMethod.StringConstParameter |
Modifier and Type | Method and Description |
---|---|
static CtMethod.ConstParameter |
CtMethod.ConstParameter.integer(int i)
Makes an integer constant.
|
static CtMethod.ConstParameter |
CtMethod.ConstParameter.integer(long i)
Makes a long integer constant.
|
static CtMethod.ConstParameter |
CtMethod.ConstParameter.string(java.lang.String s)
Makes an
String constant. |
Modifier and Type | Method and Description |
---|---|
static CtConstructor |
CtNewConstructor.make(CtClass[] parameters,
CtClass[] exceptions,
int howto,
CtMethod body,
CtMethod.ConstParameter cparam,
CtClass declaring)
Creates a public constructor.
|
(package private) static Bytecode |
CtNewWrappedMethod.makeBody(CtClass clazz,
ClassFile classfile,
CtMethod wrappedBody,
CtClass[] parameters,
CtClass returnType,
CtMethod.ConstParameter cparam) |
protected static Bytecode |
CtNewWrappedConstructor.makeBody(CtClass declaring,
ClassFile classfile,
int howToCallSuper,
CtMethod wrappedBody,
CtClass[] parameters,
CtMethod.ConstParameter cparam) |
protected static int |
CtNewWrappedMethod.makeBody0(CtClass clazz,
ClassFile classfile,
CtMethod wrappedBody,
boolean isStatic,
CtClass[] parameters,
CtClass returnType,
CtMethod.ConstParameter cparam,
Bytecode code) |
void |
CtMethod.setWrappedBody(CtMethod mbody,
CtMethod.ConstParameter constParam)
Replace a method body with a new method body wrapping the
given method.
|
static CtConstructor |
CtNewWrappedConstructor.wrapped(CtClass[] parameterTypes,
CtClass[] exceptionTypes,
int howToCallSuper,
CtMethod body,
CtMethod.ConstParameter constParam,
CtClass declaring) |
static CtMethod |
CtNewMethod.wrapped(CtClass returnType,
java.lang.String mname,
CtClass[] parameterTypes,
CtClass[] exceptionTypes,
CtMethod body,
CtMethod.ConstParameter constParam,
CtClass declaring)
Creates a wrapped method.
|
static CtMethod |
CtNewWrappedMethod.wrapped(CtClass returnType,
java.lang.String mname,
CtClass[] parameterTypes,
CtClass[] exceptionTypes,
CtMethod body,
CtMethod.ConstParameter constParam,
CtClass declaring) |