@Test public void testFindByInterface() { Collection<PropertyReader> objects = serviceProvider.find(FlipProperty.class, PropertyReader.class); assertFalse(objects.isEmpty()); testAllItemsOfType(objects, PropertyReader.class); }
public Collection<Object> find(final Class<? extends Annotation> annotatedClass) { return find(annotatedClass, Object.class); }
ServiceProvider { public Collection<Object> find(final Class<? extends Annotation> annotatedClass) { return find(annotatedClass, Object.class); } }
ServiceProvider { public Collection<Object> find(final Class<? extends Annotation> annotatedClass) { return find(annotatedClass, Object.class); } ServiceProvider(final String... pkgs); }
ServiceProvider { public Collection<Object> find(final Class<? extends Annotation> annotatedClass) { return find(annotatedClass, Object.class); } ServiceProvider(final String... pkgs); Collection<Object> find(final Class<? extends Annotation> annotatedClass); Collection<T> find(final Class<? extends Annotation> annotatedClass, final Class<T> resultingClass); }
ServiceProvider { public Collection<Object> find(final Class<? extends Annotation> annotatedClass) { return find(annotatedClass, Object.class); } ServiceProvider(final String... pkgs); Collection<Object> find(final Class<? extends Annotation> annotatedClass); Collection<T> find(final Class<? extends Annotation> annotatedClass, final Class<T> resultingClass);  }