Files
openide/java/java-tests/testData/codeInsight/daemonCodeAnalyzer/quickFix/useHashCode/beforeBoxed.java
Tagir Valeev b7d4e8a3b2 [java-inspections] UseHashCodeMethodInspection: fix inspection name, support boxed Long type
IDEA-338114, IDEA-339366

GitOrigin-RevId: 5e51384d160e29f3c81b99c9c50260cb883d9c46
2023-12-01 18:37:05 +00:00

8 lines
209 B
Java

// "Replace with 'Long.hashCode()'" "true-preview"
public class Test {
Long var = 1234567890123456789L;
public void testMethod() {
int result = (int<caret>)(var ^ (var >>> /*shift amount*/ 32));
}
}