public static class CtMethod.ConstParameter
extends java.lang.Object
CtNewMethod.wrapped()
.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(java.lang.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(java.lang.String s)
String
constant.s
- the constant value.Javassist, a Java-bytecode translator toolkit.
Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.