@Test public void getsTypedProperties() { Symbol symbol = Symbol.builder() .name("foo") .putProperty("baz", "bar") .putProperty("bam", 100) .build(); assertThat(symbol.expectProperty("baz", String.class), equalTo("bar")); assertThat(symbol.expectProperty("bam", Integer.class), equalTo(100)); }
public static Builder builder() { return new Builder(); }
Symbol extends TypedPropertiesBag implements SymbolContainer, SymbolDependencyContainer, ToSmithyBuilder<Symbol> { public static Builder builder() { return new Builder(); } }
Symbol extends TypedPropertiesBag implements SymbolContainer, SymbolDependencyContainer, ToSmithyBuilder<Symbol> { public static Builder builder() { return new Builder(); } private  Symbol(Builder builder); }
Symbol extends TypedPropertiesBag implements SymbolContainer, SymbolDependencyContainer, ToSmithyBuilder<Symbol> { public static Builder builder() { return new Builder(); } private  Symbol(Builder builder); static Builder builder(); String getNamespace(); String getNamespaceDelimiter(); String getName(); String getDeclarationFile(); String getDefinitionFile(); String getFullName(); String relativize(String namespace); List<SymbolReference> getReferences(); @Override List<SymbolDependency> getDependencies(); @Override List<Symbol> getSymbols(); @Override Builder toBuilder(); @Override String toString(); @Override boolean equals(Object o); @Override int hashCode(); }
Symbol extends TypedPropertiesBag implements SymbolContainer, SymbolDependencyContainer, ToSmithyBuilder<Symbol> { public static Builder builder() { return new Builder(); } private  Symbol(Builder builder); static Builder builder(); String getNamespace(); String getNamespaceDelimiter(); String getName(); String getDeclarationFile(); String getDefinitionFile(); String getFullName(); String relativize(String namespace); List<SymbolReference> getReferences(); @Override List<SymbolDependency> getDependencies(); @Override List<Symbol> getSymbols(); @Override Builder toBuilder(); @Override String toString(); @Override boolean equals(Object o); @Override int hashCode();  }