@Test public void testToString() throws Exception { Assert.assertEquals("1", new NumberTransforms().toString(1)); Assert.assertEquals("1", new NumberTransforms().toString(1L)); Assert.assertEquals("1.0", new NumberTransforms().toString(1D)); }
@Transformer public String toString(Number number) { return number.toString(); }
NumberTransforms { @Transformer public String toString(Number number) { return number.toString(); } }
NumberTransforms { @Transformer public String toString(Number number) { return number.toString(); }  }
NumberTransforms { @Transformer public String toString(Number number) { return number.toString(); }  @Transformer String toString(Number number); @Transformer Reader toReader(Number number); @Transformer InputStream toInputStream(Number number); @Transformer InputSource toInputSource(Number number); @Transformer char[] toChars(Number number); @Transformer Character toCharacter(Number number); @Transformer byte[] toBytes(Number number); }
NumberTransforms { @Transformer public String toString(Number number) { return number.toString(); }  @Transformer String toString(Number number); @Transformer Reader toReader(Number number); @Transformer InputStream toInputStream(Number number); @Transformer InputSource toInputSource(Number number); @Transformer char[] toChars(Number number); @Transformer Character toCharacter(Number number); @Transformer byte[] toBytes(Number number); static final NumberTransforms TRANSFORMER; }