@Test public void testToShort() throws Exception { Assert.assertEquals(new Short("1"), ReaderTransforms.TRANSFORMER.toShort(newReader("1"))); }
@Transformer public Short toShort(Reader reader) { return Short.parseShort(toString(reader)); }
ReaderTransforms { @Transformer public Short toShort(Reader reader) { return Short.parseShort(toString(reader)); } }
ReaderTransforms { @Transformer public Short toShort(Reader reader) { return Short.parseShort(toString(reader)); }  }
ReaderTransforms { @Transformer public Short toShort(Reader reader) { return Short.parseShort(toString(reader)); }  @Transformer String toString(Reader reader); @Transformer InputStream toInputStream(Reader reader); @Transformer InputSource toInputSource(Reader reader); @Transformer Integer toInteger(Reader reader); @Transformer Long toLong(Reader reader); @Transformer Short toShort(Reader reader); @Transformer char[] toChars(Reader reader); @Transformer Character toCharacter(Reader reader); @Transformer byte[] toBytes(Reader reader); @Transformer Double toDouble(Reader reader); @Transformer Float toFloat(Reader reader); }
ReaderTransforms { @Transformer public Short toShort(Reader reader) { return Short.parseShort(toString(reader)); }  @Transformer String toString(Reader reader); @Transformer InputStream toInputStream(Reader reader); @Transformer InputSource toInputSource(Reader reader); @Transformer Integer toInteger(Reader reader); @Transformer Long toLong(Reader reader); @Transformer Short toShort(Reader reader); @Transformer char[] toChars(Reader reader); @Transformer Character toCharacter(Reader reader); @Transformer byte[] toBytes(Reader reader); @Transformer Double toDouble(Reader reader); @Transformer Float toFloat(Reader reader); static final ReaderTransforms TRANSFORMER; }