@Test public void testShowInterfaces() throws Exception { ShowClassDetailInfo.showClassImplInterfaces(TargetClass.class); }
public static String showClassImplInterfaces(Class clazz) { StringBuffer stringBuffer = new StringBuffer(); Class[] classes = clazz.getInterfaces(); if (hasInterface(clazz)) { for (Class face : classes) { stringBuffer.append(face.getSimpleName()).append(", "); } stringBuffer = fixStringBuffer(stringBuffer); } return stringBuffer.toString(); }
ShowClassDetailInfo { public static String showClassImplInterfaces(Class clazz) { StringBuffer stringBuffer = new StringBuffer(); Class[] classes = clazz.getInterfaces(); if (hasInterface(clazz)) { for (Class face : classes) { stringBuffer.append(face.getSimpleName()).append(", "); } stringBuffer = fixStringBuffer(stringBuffer); } return stringBuffer.toString(); } }
ShowClassDetailInfo { public static String showClassImplInterfaces(Class clazz) { StringBuffer stringBuffer = new StringBuffer(); Class[] classes = clazz.getInterfaces(); if (hasInterface(clazz)) { for (Class face : classes) { stringBuffer.append(face.getSimpleName()).append(", "); } stringBuffer = fixStringBuffer(stringBuffer); } return stringBuffer.toString(); }  }
ShowClassDetailInfo { public static String showClassImplInterfaces(Class clazz) { StringBuffer stringBuffer = new StringBuffer(); Class[] classes = clazz.getInterfaces(); if (hasInterface(clazz)) { for (Class face : classes) { stringBuffer.append(face.getSimpleName()).append(", "); } stringBuffer = fixStringBuffer(stringBuffer); } return stringBuffer.toString(); }  static String showClassFullInfo(Class clazz); static String showClassPackage(Class clazz); static boolean hasSuperClass(Class clazz); static String showSuperClass(Class clazz); static boolean hasInterface(Class clazz); static String showClassImplInterfaces(Class clazz); static String showConstructs(Class clazz); static Object[] showAllDirectInstanceFieldsValue(Object object); static String showDeclaredField(Class clazz); static String showDeclaredMethod(Class clazz); }
ShowClassDetailInfo { public static String showClassImplInterfaces(Class clazz) { StringBuffer stringBuffer = new StringBuffer(); Class[] classes = clazz.getInterfaces(); if (hasInterface(clazz)) { for (Class face : classes) { stringBuffer.append(face.getSimpleName()).append(", "); } stringBuffer = fixStringBuffer(stringBuffer); } return stringBuffer.toString(); }  static String showClassFullInfo(Class clazz); static String showClassPackage(Class clazz); static boolean hasSuperClass(Class clazz); static String showSuperClass(Class clazz); static boolean hasInterface(Class clazz); static String showClassImplInterfaces(Class clazz); static String showConstructs(Class clazz); static Object[] showAllDirectInstanceFieldsValue(Object object); static String showDeclaredField(Class clazz); static String showDeclaredMethod(Class clazz);  }