return CstBoolean.make((Boolean) value); } else if (value instanceof Byte) { return CstByte.make((Byte) value); } else if (value instanceof Character) { return CstChar.make((Character) value);
/** * Makes an instance for the given {@code int} value. This * may (but does not necessarily) return an already-allocated * instance. * * @param value the value, which must be in range for a {@code byte} * @return {@code non-null;} the appropriate instance */ public static CstByte make(int value) { byte cast = (byte) value; if (cast != value) { throw new IllegalArgumentException("bogus byte value: " + value); } return make(cast); }
/** * Makes an instance for the given {@code int} value. This * may (but does not necessarily) return an already-allocated * instance. * * @param value the value, which must be in range for a {@code byte} * @return {@code non-null;} the appropriate instance */ public static CstByte make(int value) { byte cast = (byte) value; if (cast != value) { throw new IllegalArgumentException("bogus byte value: " + value); } return make(cast); }
/** * Makes an instance for the given {@code int} value. This * may (but does not necessarily) return an already-allocated * instance. * * @param value the value, which must be in range for a {@code byte} * @return {@code non-null;} the appropriate instance */ public static CstByte make(int value) { byte cast = (byte) value; if (cast != value) { throw new IllegalArgumentException("bogus byte value: " + value); } return make(cast); }
/** * Makes an instance for the given {@code int} value. This * may (but does not necessarily) return an already-allocated * instance. * * @param value the value, which must be in range for a {@code byte} * @return {@code non-null;} the appropriate instance */ public static CstByte make(int value) { byte cast = (byte) value; if (cast != value) { throw new IllegalArgumentException("bogus byte value: " + value); } return make(cast); }
/** * Makes an instance for the given {@code int} value. This * may (but does not necessarily) return an already-allocated * instance. * * @param value the value, which must be in range for a {@code byte} * @return {@code non-null;} the appropriate instance */ public static CstByte make(int value) { byte cast = (byte) value; if (cast != value) { throw new IllegalArgumentException("bogus byte value: " + value); } return make(cast); }
/** * Makes an instance for the given {@code int} value. This * may (but does not necessarily) return an already-allocated * instance. * * @param value the value, which must be in range for a {@code byte} * @return {@code non-null;} the appropriate instance */ public static CstByte make(int value) { byte cast = (byte) value; if (cast != value) { throw new IllegalArgumentException("bogus byte value: " + value); } return make(cast); }
/** * Makes an instance for the given {@code int} value. This * may (but does not necessarily) return an already-allocated * instance. * * @param value the value, which must be in range for a {@code byte} * @return {@code non-null;} the appropriate instance */ public static CstByte make(int value) { byte cast = (byte) value; if (cast != value) { throw new IllegalArgumentException("bogus byte value: " + value); } return make(cast); }
/** * Makes an instance for the given {@code int} value. This * may (but does not necessarily) return an already-allocated * instance. * * @param value the value, which must be in range for a {@code byte} * @return {@code non-null;} the appropriate instance */ public static CstByte make(int value) { byte cast = (byte) value; if (cast != value) { throw new IllegalArgumentException("bogus byte value: " + value); } return make(cast); }
return CstBoolean.make((Boolean) value); } else if (value instanceof Byte) { return CstByte.make((Byte) value); } else if (value instanceof Character) { return CstChar.make((Character) value);
return CstBoolean.make((Boolean) value); } else if (value instanceof Byte) { return CstByte.make((Byte) value); } else if (value instanceof Character) { return CstChar.make((Character) value);
return CstBoolean.make((Boolean) value); } else if (value instanceof Byte) { return CstByte.make((Byte) value); } else if (value instanceof Character) { return CstChar.make((Character) value);
return CstByte.make(((CstInteger) constant).getValue());
return CstByte.make(((CstInteger) constant).getValue());
return CstByte.make(((CstInteger) constant).getValue());
return CstByte.make(((CstInteger) constant).getValue());
return CstByte.make(((CstInteger) constant).getValue());
return CstByte.make(((CstInteger) constant).getValue());
case 'B': { CstInteger value = (CstInteger) parseConstant(); return CstByte.make(value.getValue());
case 'B': { CstInteger value = (CstInteger) parseConstant(); return CstByte.make(value.getValue());