@Test void testNewConfigObject() { final Map<String, ConfigValue> entries = ImmutableMap.of("a", ConfigValueFactory.fromAnyRef("hi"), "b", ConfigValueFactory.fromAnyRef("bye")); HoconConfigurationLoader.newConfigObject(entries); }
static ConfigValue newConfigObject(final Map<String, ConfigValue> vals) { try { return CONFIG_OBJECT_CONSTRUCTOR.newInstance(CONFIGURATE_ORIGIN, vals); } catch (InstantiationException | IllegalAccessException | InvocationTargetException e) { throw new RuntimeException(e); } }
HoconConfigurationLoader extends AbstractConfigurationLoader<CommentedConfigurationNode> { static ConfigValue newConfigObject(final Map<String, ConfigValue> vals) { try { return CONFIG_OBJECT_CONSTRUCTOR.newInstance(CONFIGURATE_ORIGIN, vals); } catch (InstantiationException | IllegalAccessException | InvocationTargetException e) { throw new RuntimeException(e); } } }
HoconConfigurationLoader extends AbstractConfigurationLoader<CommentedConfigurationNode> { static ConfigValue newConfigObject(final Map<String, ConfigValue> vals) { try { return CONFIG_OBJECT_CONSTRUCTOR.newInstance(CONFIGURATE_ORIGIN, vals); } catch (InstantiationException | IllegalAccessException | InvocationTargetException e) { throw new RuntimeException(e); } } private  HoconConfigurationLoader(final Builder build); }
HoconConfigurationLoader extends AbstractConfigurationLoader<CommentedConfigurationNode> { static ConfigValue newConfigObject(final Map<String, ConfigValue> vals) { try { return CONFIG_OBJECT_CONSTRUCTOR.newInstance(CONFIGURATE_ORIGIN, vals); } catch (InstantiationException | IllegalAccessException | InvocationTargetException e) { throw new RuntimeException(e); } } private  HoconConfigurationLoader(final Builder build); @NonNull static Builder builder(); @NonNull @Override CommentedConfigurationNode createNode(@NonNull ConfigurationOptions options); }
HoconConfigurationLoader extends AbstractConfigurationLoader<CommentedConfigurationNode> { static ConfigValue newConfigObject(final Map<String, ConfigValue> vals) { try { return CONFIG_OBJECT_CONSTRUCTOR.newInstance(CONFIGURATE_ORIGIN, vals); } catch (InstantiationException | IllegalAccessException | InvocationTargetException e) { throw new RuntimeException(e); } } private  HoconConfigurationLoader(final Builder build); @NonNull static Builder builder(); @NonNull @Override CommentedConfigurationNode createNode(@NonNull ConfigurationOptions options);  }