/** * Returns a hash value for this parameter. This value doesn't need to be the same in past or * future versions of this class. */ @Override @SuppressWarnings("PMD.OverrideBothEqualsAndHashcode") public int hashCode() { return super.hashCode() ^ descriptor.hashCode(); } }
/** * Returns a hash value for this parameter. * * @return The hash code value. This value doesn't need to be the same in past or future * versions of this class. */ @Override @SuppressWarnings("PMD.OverrideBothEqualsAndHashcode") public int hashCode() { return super.hashCode() ^ prefix.hashCode() ^ 37 * separator; } }