Files
openide/java/java-tests/testData/codeInsight/daemonCodeAnalyzer/quickFix/wrapLongWithMathToIntExact/afterFewParameters.java
Bas Leijdekkers 223eeb0b0f WrapWithAdapterMethodCallFix: wrap with List.of() instead of Arrays.asList() on Java 9 and higher (IDEA-269380)
GitOrigin-RevId: f39f5c58348afb6b3c57dbc059860f940c6ec363
2021-05-19 10:44:07 +00:00

13 lines
193 B
Java

// "Wrap 2nd argument using 'Math.toIntExact()'" "true"
public class Test {
void longMethod(int k, int thisIsInt) {
}
void m(long ll) {
longMethod(13, Math.toIntExact(ll));
}
}