|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.ObjectclassUtils.javassist.CtMethod.ConstParameter
public static class CtMethod.ConstParameter
Instances of this class represent a constant parameter.
They are used to specify the parameter given to the methods
created by CtNewMethod.wrapped().
CtMethod.setWrappedBody(CtMethod,CtMethod.ConstParameter),
CtNewMethod.wrapped(CompileTimeClass,String,CompileTimeClass[],CompileTimeClass[],CtMethod,CtMethod.ConstParameter,CompileTimeClass),
CtNewConstructor.make(CompileTimeClass[],CompileTimeClass[],int,CtMethod,CtMethod.ConstParameter,CompileTimeClass)| Method Summary | |
|---|---|
static CtMethod.ConstParameter |
integer(int i)
Makes an integer constant. |
static CtMethod.ConstParameter |
integer(long i)
Makes a long integer constant. |
static CtMethod.ConstParameter |
string(java.lang.String s)
Makes an String constant. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static CtMethod.ConstParameter integer(int i)
i - the constant value.public static CtMethod.ConstParameter integer(long i)
i - the constant value.public static CtMethod.ConstParameter string(java.lang.String s)
String constant.
s - the constant value.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||