Naming a method hashcode() is either:

In both cases, the method should be renamed.

The following code:

public int hashcode() { /* ... */ }    // Non-Compliant

should be refactored into:

@Override
public int hashCode() { /* ... */ }    // Compliant