@Test void testNewConfigList() { final List<ConfigValue> entries = Arrays.asList(ConfigValueFactory.fromAnyRef("hello"), ConfigValueFactory.fromAnyRef("goodbye")); HoconConfigurationLoader.newConfigList(entries); }
static ConfigValue newConfigList(final List<ConfigValue> vals) { try { return CONFIG_LIST_CONSTRUCTOR.newInstance(CONFIGURATE_ORIGIN, vals); } catch (InstantiationException | IllegalAccessException | InvocationTargetException e) { throw new RuntimeException(e); } }
HoconConfigurationLoader extends AbstractConfigurationLoader<CommentedConfigurationNode> { static ConfigValue newConfigList(final List<ConfigValue> vals) { try { return CONFIG_LIST_CONSTRUCTOR.newInstance(CONFIGURATE_ORIGIN, vals); } catch (InstantiationException | IllegalAccessException | InvocationTargetException e) { throw new RuntimeException(e); } } }
HoconConfigurationLoader extends AbstractConfigurationLoader<CommentedConfigurationNode> { static ConfigValue newConfigList(final List<ConfigValue> vals) { try { return CONFIG_LIST_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 newConfigList(final List<ConfigValue> vals) { try { return CONFIG_LIST_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 newConfigList(final List<ConfigValue> vals) { try { return CONFIG_LIST_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);  }