@Test public void testToChars() throws Exception { Assert.assertEquals("12345", new String(ReaderTransforms.TRANSFORMER.toChars(newReader("12345")))); }
@Transformer public char[] toChars(Reader reader) { return toString(reader).toCharArray(); }
ReaderTransforms { @Transformer public char[] toChars(Reader reader) { return toString(reader).toCharArray(); } }
ReaderTransforms { @Transformer public char[] toChars(Reader reader) { return toString(reader).toCharArray(); }  }
ReaderTransforms { @Transformer public char[] toChars(Reader reader) { return toString(reader).toCharArray(); }  @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 char[] toChars(Reader reader) { return toString(reader).toCharArray(); }  @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; }