class FieldType {

    @Override
    public boolean equals(Object o) {
        if (this == o) return true;
        if (o == null || getClass() != o.getClass()) return false;

        FieldType fieldType = (FieldType) o;

        if (modifier != null ? !modifier.equals(fieldType.modifier) : fieldType.modifier != null) return false;
        return type != null ? type.equals(fieldType.type) : fieldType.type == null;
    }

    public  FieldType(String modifier, String type);

}