@Test void multipleRolesForComponent() { ComponentDescriptorFactory factory = new ComponentDescriptorFactory(); List<ComponentDescriptor<MultipleRolesImpl>> descriptors = factory.createComponentDescriptors(MultipleRolesImpl.class, NonGenericRole.class); assertEquals(2, descriptors.size()); assertEquals("hint1", descriptors.get(0).getRoleHint()); assertEquals("hint2", descriptors.get(1).getRoleHint()); }
@Deprecated public <T> List<ComponentDescriptor<T>> createComponentDescriptors(Class<? extends T> componentClass, Class<?> componentRoleClass) { return createComponentDescriptors(componentClass, (Type) componentRoleClass); }
ComponentDescriptorFactory { @Deprecated public <T> List<ComponentDescriptor<T>> createComponentDescriptors(Class<? extends T> componentClass, Class<?> componentRoleClass) { return createComponentDescriptors(componentClass, (Type) componentRoleClass); } }
ComponentDescriptorFactory { @Deprecated public <T> List<ComponentDescriptor<T>> createComponentDescriptors(Class<? extends T> componentClass, Class<?> componentRoleClass) { return createComponentDescriptors(componentClass, (Type) componentRoleClass); }  }
ComponentDescriptorFactory { @Deprecated public <T> List<ComponentDescriptor<T>> createComponentDescriptors(Class<? extends T> componentClass, Class<?> componentRoleClass) { return createComponentDescriptors(componentClass, (Type) componentRoleClass); }  @Deprecated List<ComponentDescriptor<T>> createComponentDescriptors(Class<? extends T> componentClass,
        Class<?> componentRoleClass); List<ComponentDescriptor<T>> createComponentDescriptors(Class<? extends T> componentClass,
        Type componentRoleType); }
ComponentDescriptorFactory { @Deprecated public <T> List<ComponentDescriptor<T>> createComponentDescriptors(Class<? extends T> componentClass, Class<?> componentRoleClass) { return createComponentDescriptors(componentClass, (Type) componentRoleClass); }  @Deprecated List<ComponentDescriptor<T>> createComponentDescriptors(Class<? extends T> componentClass,
        Class<?> componentRoleClass); List<ComponentDescriptor<T>> createComponentDescriptors(Class<? extends T> componentClass,
        Type componentRoleType);  }