### Question:
AsmUtil { static String getDescriptor(final Constructor c) { StringBuilder buf = new StringBuilder(); buf.append('('); for (Class<?> paramType : c.getParameterTypes()) { buf.append(getDescriptor(paramType)); } return buf.append(")V").toString(); } private  AsmUtil();   }### Answer:
@Test void getDescriptor() { assertEquals("I", AsmUtil.getDescriptor(int.class)); assertEquals("J", AsmUtil.getDescriptor(long.class)); assertEquals("Z", AsmUtil.getDescriptor(boolean.class)); assertEquals("B", AsmUtil.getDescriptor(byte.class)); assertEquals("C", AsmUtil.getDescriptor(char.class)); assertEquals("Ljava/lang/Integer;", AsmUtil.getDescriptor(Integer.class)); assertEquals("Ljava/lang/String;", AsmUtil.getDescriptor(String.class)); assertEquals("Ljava/util/Map;", AsmUtil.getDescriptor(Map.class)); assertEquals("[I", AsmUtil.getDescriptor(int[].class)); assertEquals("[[I", AsmUtil.getDescriptor(int[][].class)); assertEquals("[[[I", AsmUtil.getDescriptor(int[][][].class)); assertEquals("[Ljava/lang/Integer;", AsmUtil.getDescriptor(Integer[].class)); assertEquals("[[Ljava/lang/Integer;", AsmUtil.getDescriptor(Integer[][].class)); assertEquals("[[[Ljava/lang/Integer;", AsmUtil.getDescriptor(Integer[][][].class)); }