ElasticsearchSettings extends Settings { public static List<Setting<?>> pluginSettings() { return new ImmutableList.Builder<Setting<?>>() .add(PPL_QUERY_MEMORY_LIMIT_SETTINGS) .add(PPL_ENABLED_SETTINGS) .add(QUERY_SIZE_LIMIT_SETTINGS) .build(); } ElasticsearchSettings(ClusterSettings clusterSettings); @SuppressWarnings("unchecked") @Override T getSettingValue(Settings.Key key); static List<Setting<?>> pluginSettings();  }
@Test void pluginSettings() { List<Setting<?>> settings = ElasticsearchSettings.pluginSettings(); assertFalse(settings.isEmpty()); }