@Test void getDirectSpoonInterfacesOfFor() { final List<Class<?>> inter = spoonCodeInstrument.getDirectSpoonInterfaces(CtFor.class).collect(Collectors.toList()); assertThat(inter).containsExactly(CtLoop.class); }
Stream<Class<?>> getDirectSpoonInterfaces(final Class<?> cl) { return Arrays .stream(cl.getInterfaces()) .filter(inter -> inter.getPackageName().startsWith("spoon.")); }
SpoonCodeInstrument extends JfxInstrument implements Initializable { Stream<Class<?>> getDirectSpoonInterfaces(final Class<?> cl) { return Arrays .stream(cl.getInterfaces()) .filter(inter -> inter.getPackageName().startsWith("spoon.")); } }
SpoonCodeInstrument extends JfxInstrument implements Initializable { Stream<Class<?>> getDirectSpoonInterfaces(final Class<?> cl) { return Arrays .stream(cl.getInterfaces()) .filter(inter -> inter.getPackageName().startsWith("spoon.")); }  }
SpoonCodeInstrument extends JfxInstrument implements Initializable { Stream<Class<?>> getDirectSpoonInterfaces(final Class<?> cl) { return Arrays .stream(cl.getInterfaces()) .filter(inter -> inter.getPackageName().startsWith("spoon.")); }  @Override void initialize(final URL url, final ResourceBundle res); }
SpoonCodeInstrument extends JfxInstrument implements Initializable { Stream<Class<?>> getDirectSpoonInterfaces(final Class<?> cl) { return Arrays .stream(cl.getInterfaces()) .filter(inter -> inter.getPackageName().startsWith("spoon.")); }  @Override void initialize(final URL url, final ResourceBundle res);  }