Files
openide/java/java-tests/testData/codeInsight/daemonCodeAnalyzer/quickFix/bindFieldsFromParameters/afterMethodGeneric.java
Bas Leijdekkers 3c99de56be Java: create correct field from parameter with unbounded type parameter (IDEA-365468)
GitOrigin-RevId: 218b864c95d25b6ff47e9360e0eeef47308f0ae8
2025-01-08 13:55:47 +00:00

12 lines
194 B
Java

// "Bind method parameters to fields" "true-preview"
class Bar {
private Class<?> myA;
private int myB;
<T> void get(Class<T> a, int b) {
myA = a;
myB = b;
}
}