| Modifier and Type | Method and Description | 
|---|---|
| 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(String s)Makes an  Stringconstant. | 
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(String s)
String constant.s - the constant value.Copyright © 2016 Shigeru Chiba, www.javassist.org. All Rights Reserved.