FIXED equals and hashCode for field and method