Package javassist
Class CtMethod.ConstParameter
- java.lang.Object
-
- javassist.CtMethod.ConstParameter
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static CtMethod.ConstParameterinteger(int i)Makes an integer constant.static CtMethod.ConstParameterinteger(long i)Makes a long integer constant.static CtMethod.ConstParameterstring(String s)Makes anStringconstant.
-
-
-
Method Detail
-
integer
public static CtMethod.ConstParameter integer(int i)
Makes an integer constant.- Parameters:
i- the constant value.
-
integer
public static CtMethod.ConstParameter integer(long i)
Makes a long integer constant.- Parameters:
i- the constant value.
-
string
public static CtMethod.ConstParameter string(String s)
Makes anStringconstant.- Parameters:
s- the constant value.
-
-