@Override public int hashCode() { final int prime = 31; int result = 1; result = prime * result + ((type == null) ? 0 : type.hashCode()); return result; }
@Override public String getName() { return type.toString(); }
public static PrimitiveType valueOf(String typeName) { return new PrimitiveType(EnumType.valueOf(typeName)); }
@Override public String toString() { return type.toString(); }