Lines Matching defs:constant
182 * @param constant {@code non-null;} the constant in question
185 private static TypedConstant coerceConstant(TypedConstant constant,
187 Type constantType = constant.getType();
190 return constant;
195 return CstBoolean.make(((CstInteger) constant).getValue());
198 return CstByte.make(((CstInteger) constant).getValue());
201 return CstChar.make(((CstInteger) constant).getValue());
204 return CstShort.make(((CstInteger) constant).getValue());
208 constant + " to " + type);
355 * file would corrupt it (by messing with its constant pool