boolean (Object o) { if(this == o) { return true; } if(!(o instanceof EqualsUsesNonFinalVariableInspection)) { return false; } final EqualsUsesNonFinalVariableInspection nonFinalFieldReferencedInEquals = (EqualsUsesNonFinalVariableInspection) o; if(bar != nonFinalFieldReferencedInEquals.bar) { return false; } if(foo != nonFinalFieldReferencedInEquals.foo) { return false; } return true; }