Java: create correct field from parameter with unbounded type parameter (IDEA-365468)

GitOrigin-RevId: 218b864c95d25b6ff47e9360e0eeef47308f0ae8
This commit is contained in:
Bas Leijdekkers
2025-01-08 13:55:47 +00:00
committed by intellij-monorepo-bot
parent 135bd98b37
commit 3c99de56be
3 changed files with 7 additions and 3 deletions
@@ -2,9 +2,11 @@
class Bar {
private Class<?> myA;
private int myB;
<T> void get(Class<T> a, int b) {
myA = a;
myB = b;
}
}