@Test public void testResolve() { assertThat( new ConstantEnumSetSpecifier<>(ImmutableSet.of()).resolve(), equalTo(ImmutableSet.of())); assertThat( new ConstantEnumSetSpecifier<>(ImmutableSet.of("a")).resolve(), equalTo(ImmutableSet.of("a"))); }
@Override public Set<T> resolve() { return _structureTypes; }
ConstantEnumSetSpecifier implements EnumSetSpecifier<T> { @Override public Set<T> resolve() { return _structureTypes; } }
ConstantEnumSetSpecifier implements EnumSetSpecifier<T> { @Override public Set<T> resolve() { return _structureTypes; } ConstantEnumSetSpecifier(Set<T> structureTypes); }
ConstantEnumSetSpecifier implements EnumSetSpecifier<T> { @Override public Set<T> resolve() { return _structureTypes; } ConstantEnumSetSpecifier(Set<T> structureTypes); @Override boolean equals(@Nullable Object obj); @Override int hashCode(); @Override Set<T> resolve(); }
ConstantEnumSetSpecifier implements EnumSetSpecifier<T> { @Override public Set<T> resolve() { return _structureTypes; } ConstantEnumSetSpecifier(Set<T> structureTypes); @Override boolean equals(@Nullable Object obj); @Override int hashCode(); @Override Set<T> resolve();  }