@Test public void testToCharacter() throws Exception { Assert.assertNotNull(StringTransforms.TRANSFORMER.toCharacter("c")); }
@Transformer public Character toCharacter(String string) { if (string.length() > 0) { return string.charAt(0); } else { return null; } }
StringTransforms { @Transformer public Character toCharacter(String string) { if (string.length() > 0) { return string.charAt(0); } else { return null; } } }
StringTransforms { @Transformer public Character toCharacter(String string) { if (string.length() > 0) { return string.charAt(0); } else { return null; } }  }
StringTransforms { @Transformer public Character toCharacter(String string) { if (string.length() > 0) { return string.charAt(0); } else { return null; } }  @Transformer Reader toReader(String string); @Transformer InputStream toInputStream(String string); @Transformer InputSource toInputSource(String string); @Transformer Integer toInteger(String string); @Transformer Long toLong(String string); @Transformer Short toShort(String string); @Transformer char[] toChars(String string); @Transformer Character toCharacter(String string); @Transformer byte[] toBytes(String string); @Transformer Double toDouble(String string); @Transformer Float toFloat(String string); }
StringTransforms { @Transformer public Character toCharacter(String string) { if (string.length() > 0) { return string.charAt(0); } else { return null; } }  @Transformer Reader toReader(String string); @Transformer InputStream toInputStream(String string); @Transformer InputSource toInputSource(String string); @Transformer Integer toInteger(String string); @Transformer Long toLong(String string); @Transformer Short toShort(String string); @Transformer char[] toChars(String string); @Transformer Character toCharacter(String string); @Transformer byte[] toBytes(String string); @Transformer Double toDouble(String string); @Transformer Float toFloat(String string); static final StringTransforms TRANSFORMER; }