@Test void gridLayoutTranslation() throws NoSuchMethodException { final List<ParameterMeta> params = new ParameterModelService(new PropertyEditorRegistry()) .buildParameterMetas(getClass().getDeclaredMethod("gridLayout", WithLayout.class), null, new BaseParameterEnricher.Context(new LocalConfigurationService(emptyList(), "test"))); final List<SimplePropertyDefinition> props = propertiesService .buildProperties(params, Thread.currentThread().getContextClassLoader(), Locale.ROOT, null) .collect(toList()); assertEquals(3, props.size()); final Map<String, String> metadata = props.iterator().next().getMetadata(); assertEquals(3, metadata.size()); assertEquals("first", metadata.get("ui::gridlayout::NumeroUn::value")); assertEquals("second", metadata.get("ui::gridlayout::NumeroDeux::value")); }
public Stream<SimplePropertyDefinition> buildProperties(final List<ParameterMeta> meta, final ClassLoader loader, final Locale locale, final DefaultValueInspector.Instance rootInstance) { return buildProperties(meta, loader, locale, rootInstance, null); }
PropertiesService { public Stream<SimplePropertyDefinition> buildProperties(final List<ParameterMeta> meta, final ClassLoader loader, final Locale locale, final DefaultValueInspector.Instance rootInstance) { return buildProperties(meta, loader, locale, rootInstance, null); } }
PropertiesService { public Stream<SimplePropertyDefinition> buildProperties(final List<ParameterMeta> meta, final ClassLoader loader, final Locale locale, final DefaultValueInspector.Instance rootInstance) { return buildProperties(meta, loader, locale, rootInstance, null); }  }
PropertiesService { public Stream<SimplePropertyDefinition> buildProperties(final List<ParameterMeta> meta, final ClassLoader loader, final Locale locale, final DefaultValueInspector.Instance rootInstance) { return buildProperties(meta, loader, locale, rootInstance, null); }  Stream<SimplePropertyDefinition> buildProperties(final List<ParameterMeta> meta, final ClassLoader loader,
            final Locale locale, final DefaultValueInspector.Instance rootInstance); }
PropertiesService { public Stream<SimplePropertyDefinition> buildProperties(final List<ParameterMeta> meta, final ClassLoader loader, final Locale locale, final DefaultValueInspector.Instance rootInstance) { return buildProperties(meta, loader, locale, rootInstance, null); }  Stream<SimplePropertyDefinition> buildProperties(final List<ParameterMeta> meta, final ClassLoader loader,
            final Locale locale, final DefaultValueInspector.Instance rootInstance);  }