Modifier and Type | Method | 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
String constant. |
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 © 2018 Shigeru Chiba, www.javassist.org. All rights reserved.