@Test void validateProp() { assertThrows(IllegalArgumentException.class, () -> { ParameterMeta attribute = new ParameterMeta(null, BadConfig.class, ParameterMeta.Type.STRING, "configuration.attribute", "attribute", null, emptyList(), null, emptyMap(), false); ParameterMeta config = new ParameterMeta(null, Config.class, ParameterMeta.Type.OBJECT, "configuration", "configuration", null, singletonList(attribute), null, emptyMap(), false); propertiesService .buildProperties(singletonList(config), getClass().getClassLoader(), Locale.ROOT, null) .forEach(Objects::nonNull); }); }
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);  }