Package javassist
Class CtMethod.ConstParameter
java.lang.Object
javassist.CtMethod.ConstParameter
- Enclosing class:
CtMethod
Instances of this class represent a constant parameter.
They are used to specify the parameter given to the methods
created by
CtNewMethod.wrapped().-
Method Summary
Modifier and TypeMethodDescriptionstatic CtMethod.ConstParameterinteger(int i) Makes an integer constant.static CtMethod.ConstParameterinteger(long i) Makes a long integer constant.static CtMethod.ConstParameterMakes anStringconstant.
-
Method Details
-
integer
Makes an integer constant.- Parameters:
i- the constant value.
-
integer
Makes a long integer constant.- Parameters:
i- the constant value.
-
string
Makes anStringconstant.- Parameters:
s- the constant value.
-