boolean (Object o) { if (this == o) { return true; } if (o == null || getClass() != o.getClass()) { return false; } SearchScope scope = (SearchScope)o; return myRecursive == scope.myRecursive && Comparing.equal(myCustomScope, scope.myCustomScope) && Objects.equals(myModuleName, scope.myModuleName) && Objects.equals(myPath, scope.myPath) && Objects.equals(myScopeName, scope.myScopeName) && myScopeType == scope.myScopeType; }