code: @SuppressWarnings("unchecked")
     public <T> Attribute<T> attribute(String name) {
        return (Attribute<T>) this.attributes.get(name);
     }
docs: Returns the named attribute
  @param name the name of the attribute to return
  @return the attribute