예제 #1
0
 @Test
 public void testSignatureChar() {
   String res = Signature.toSignature(Character.TYPE);
   Assert.assertEquals("C", res);
 }
예제 #2
0
 @Test
 public void testSignatureCharArray() {
   String res = Signature.toSignature(char[].class);
   Assert.assertEquals("[C", res);
 }
예제 #3
0
 @Test
 public void testSignatureObject() {
   String res = Signature.toSignature(Object.class);
   Assert.assertEquals("Ljava/lang/Object;", res);
 }