diff --git a/src/main/java/nl/jqno/equalsverifier/internal/checkers/ExamplesChecker.java b/src/main/java/nl/jqno/equalsverifier/internal/checkers/ExamplesChecker.java
index <HASH>..<HASH> 100644
--- a/src/main/java/nl/jqno/equalsverifier/internal/checkers/ExamplesChecker.java
+++ b/src/main/java/nl/jqno/equalsverifier/internal/checkers/ExamplesChecker.java
@@ -107,7 +107,6 @@ public class ExamplesChecker<T> implements Checker {
     }
 
     private void checkTypeCheck(T reference) {
-        class SomethingElse {}
         SomethingElse somethingElse = new SomethingElse();
         try {
             Formatter f =
@@ -165,4 +164,17 @@ public class ExamplesChecker<T> implements Checker {
 
         return true;
     }
+
+    @SuppressFBWarnings(
+            value = "HE_HASHCODE_USE_OBJECT_EQUALS",
+            justification =
+                    "The hashCode must be stable, the class has no state so we don't need to override equals")
+    private static final class SomethingElse {
+        @Override
+        public int hashCode() {
+            // Must return a stable, high-value hashCode,
+            // otherwise the SymmetryTest (which depends on the hashCode) becomes flaky.
+            return Integer.MAX_VALUE;
+        }
+    }
 }
Fixes flaky test that depended on hashCode being stable