@Test public void testKnownPaths() { Validation v = new OptionalPathValidation("hello"); assertEquals(Sets.newHashSet("hello"), v.getKnownPaths()); }
@Override public Set<String> getKnownPaths() { return Sets.newHashSet(path); }
OptionalPathValidation implements Validation { @Override public Set<String> getKnownPaths() { return Sets.newHashSet(path); } }
OptionalPathValidation implements Validation { @Override public Set<String> getKnownPaths() { return Sets.newHashSet(path); } OptionalPathValidation(String path);  OptionalPathValidation(String path, ConfigValueType type); }
OptionalPathValidation implements Validation { @Override public Set<String> getKnownPaths() { return Sets.newHashSet(path); } OptionalPathValidation(String path);  OptionalPathValidation(String path, ConfigValueType type); @Override ValidationResult validate(Config config); @Override String toString(); @Override Set<String> getKnownPaths(); }
OptionalPathValidation implements Validation { @Override public Set<String> getKnownPaths() { return Sets.newHashSet(path); } OptionalPathValidation(String path);  OptionalPathValidation(String path, ConfigValueType type); @Override ValidationResult validate(Config config); @Override String toString(); @Override Set<String> getKnownPaths();  }