31323334353637
void acceptInteger(byte v) { throw new MessageTypeException("Unexpected integer value"); } void acceptInteger(short v) { throw new MessageTypeException("Unexpected integer value"); }
35363738394041
void acceptInteger(short v) { throw new MessageTypeException("Unexpected integer value"); } void acceptInteger(int v) { throw new MessageTypeException("Unexpected integer value"); }
66676869707172737475
@Override public Object get(Object target) { try { return getField().get(target); } catch (IllegalArgumentException e) { throw new MessageTypeException(e); } catch (IllegalAccessException e) { throw new MessageTypeException(e); } }
77787980818283848586
@Override public void set(Object target, Object value) { try { field.set(target, value); } catch (IllegalArgumentException e) { throw new MessageTypeException(e); } catch (IllegalAccessException e) { throw new MessageTypeException(e); } }
39404142434445
void acceptInteger(int v) { throw new MessageTypeException("Unexpected integer value"); } void acceptInteger(long v) { throw new MessageTypeException("Unexpected integer value"); }
43444546474849
void acceptInteger(long v) { throw new MessageTypeException("Unexpected integer value"); } void acceptUnsignedInteger(byte v) { throw new MessageTypeException("Unexpected integer value"); }
47484950515253
void acceptUnsignedInteger(byte v) { throw new MessageTypeException("Unexpected integer value"); } void acceptUnsignedInteger(short v) { throw new MessageTypeException("Unexpected integer value"); }
2728293031323334353637
private IntegerTemplate() { } public void write(Packer pk, Integer target, boolean required) throws IOException { if (target == null) { if (required) { throw new MessageTypeException("Attempted to write null"); } pk.writeNil(); return; } pk.writeInt(target);
51525354555657
void acceptUnsignedInteger(short v) { throw new MessageTypeException("Unexpected integer value"); } void acceptUnsignedInteger(int v) { throw new MessageTypeException("Unexpected integer value"); }
55565758596061
void acceptUnsignedInteger(int v) { throw new MessageTypeException("Unexpected integer value"); } void acceptUnsignedInteger(long v) { throw new MessageTypeException("Unexpected integer value"); }