@Test(expected = IllegalArgumentException.class) public void testGetTypeNoSuchField() { assertThat(structure.getType("NO SUCH FIELD")); }
@Override public DataType getType(final String fieldName) { return getField(fieldName).getType(); }
StructureImpl implements Structure { @Override public DataType getType(final String fieldName) { return getField(fieldName).getType(); } }
StructureImpl implements Structure { @Override public DataType getType(final String fieldName) { return getField(fieldName).getType(); } StructureImpl(final Map<String, Field> fields); }
StructureImpl implements Structure { @Override public DataType getType(final String fieldName) { return getField(fieldName).getType(); } StructureImpl(final Map<String, Field> fields); @Override Field getField(final String fieldName); @Override List<Field> getFields(); @Override DataType getType(final String fieldName); @Override boolean hasMember(final String fieldName); }
StructureImpl implements Structure { @Override public DataType getType(final String fieldName) { return getField(fieldName).getType(); } StructureImpl(final Map<String, Field> fields); @Override Field getField(final String fieldName); @Override List<Field> getFields(); @Override DataType getType(final String fieldName); @Override boolean hasMember(final String fieldName);  }