@Test public void TestGetAllInterfaces1 (){ List<Class<?>> interfaces = RegisterUtil.getAllInterfaces(DummyClass.class); assertEquals(DummyInterface.class, interfaces.get(0)); }
public static List<Class<?>> getAllInterfaces(Class<?> clazz) { Set<Class<?>> interfaces = new HashSet<Class<?>>(); addAllInterfaces(interfaces, clazz); return new ArrayList<Class<?>>(interfaces); }
RegisterUtil { public static List<Class<?>> getAllInterfaces(Class<?> clazz) { Set<Class<?>> interfaces = new HashSet<Class<?>>(); addAllInterfaces(interfaces, clazz); return new ArrayList<Class<?>>(interfaces); } }
RegisterUtil { public static List<Class<?>> getAllInterfaces(Class<?> clazz) { Set<Class<?>> interfaces = new HashSet<Class<?>>(); addAllInterfaces(interfaces, clazz); return new ArrayList<Class<?>>(interfaces); }  }
RegisterUtil { public static List<Class<?>> getAllInterfaces(Class<?> clazz) { Set<Class<?>> interfaces = new HashSet<Class<?>>(); addAllInterfaces(interfaces, clazz); return new ArrayList<Class<?>>(interfaces); }  static List<Class<?>> getAllInterfaces(Class<?> clazz); }
RegisterUtil { public static List<Class<?>> getAllInterfaces(Class<?> clazz) { Set<Class<?>> interfaces = new HashSet<Class<?>>(); addAllInterfaces(interfaces, clazz); return new ArrayList<Class<?>>(interfaces); }  static List<Class<?>> getAllInterfaces(Class<?> clazz);  }