@Test @Deprecated @SuppressWarnings("deprecation") public void testCreateUiComponent_NoComponentDefinition() { Assertions.assertThrows(IllegalArgumentException.class, () -> { UiCreator.createComponent(new TestSectionPmo(), new BindingContext(), c -> Optional.empty(), c -> Optional.empty()); }); }
public static ComponentWrapper createComponent(Object pmo, BindingContext bindingContext) { return createComponent(pmo, bindingContext, ComponentAnnotationReader::findComponentDefinition, LayoutAnnotationReader::findLayoutDefinition); }
UiCreator { public static ComponentWrapper createComponent(Object pmo, BindingContext bindingContext) { return createComponent(pmo, bindingContext, ComponentAnnotationReader::findComponentDefinition, LayoutAnnotationReader::findLayoutDefinition); } }
UiCreator { public static ComponentWrapper createComponent(Object pmo, BindingContext bindingContext) { return createComponent(pmo, bindingContext, ComponentAnnotationReader::findComponentDefinition, LayoutAnnotationReader::findLayoutDefinition); } private  UiCreator(); }
UiCreator { public static ComponentWrapper createComponent(Object pmo, BindingContext bindingContext) { return createComponent(pmo, bindingContext, ComponentAnnotationReader::findComponentDefinition, LayoutAnnotationReader::findLayoutDefinition); } private  UiCreator(); static Stream<W> createUiElements(Object pmo,
            BindingContext bindingContext,
            Function<C, W> componentWrapperCreator); static W createUiElement(AnnotatedElement annotatedElement,
            Object pmo,
            BindingContext bindingContext,
            Function<C, W> componentWrapperCreator); static ComponentWrapper createComponent(Object pmo,
            BindingContext bindingContext); @Deprecated @SuppressWarnings("overloads") static ComponentWrapper createComponent(Object pmo,
            BindingContext bindingContext,
            Function<Class<?>, Optional<LinkkiComponentDefinition>> componentDefinitionFinder,
            Function<Class<?>, Optional<LinkkiLayoutDefinition>> layoutDefinitionFinder); @SuppressWarnings("overloads") static ComponentWrapper createComponent(Object pmo,
            BindingContext bindingContext,
            LinkkiComponentDefinition componentDefinition,
            Optional<LinkkiLayoutDefinition> layoutDefinition); }
UiCreator { public static ComponentWrapper createComponent(Object pmo, BindingContext bindingContext) { return createComponent(pmo, bindingContext, ComponentAnnotationReader::findComponentDefinition, LayoutAnnotationReader::findLayoutDefinition); } private  UiCreator(); static Stream<W> createUiElements(Object pmo,
            BindingContext bindingContext,
            Function<C, W> componentWrapperCreator); static W createUiElement(AnnotatedElement annotatedElement,
            Object pmo,
            BindingContext bindingContext,
            Function<C, W> componentWrapperCreator); static ComponentWrapper createComponent(Object pmo,
            BindingContext bindingContext); @Deprecated @SuppressWarnings("overloads") static ComponentWrapper createComponent(Object pmo,
            BindingContext bindingContext,
            Function<Class<?>, Optional<LinkkiComponentDefinition>> componentDefinitionFinder,
            Function<Class<?>, Optional<LinkkiLayoutDefinition>> layoutDefinitionFinder); @SuppressWarnings("overloads") static ComponentWrapper createComponent(Object pmo,
            BindingContext bindingContext,
            LinkkiComponentDefinition componentDefinition,
            Optional<LinkkiLayoutDefinition> layoutDefinition);  }