mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-18 08:50:57 +07:00
15 lines
244 B
Java
15 lines
244 B
Java
// "Create field 'array'" "true-preview"
|
|
class Smth<T> {
|
|
}
|
|
|
|
class Converter {
|
|
static <T> Smth<T> asSmth (T[] t) {}
|
|
}
|
|
|
|
class Test {
|
|
private String[] array<caret>;
|
|
|
|
void bar () {
|
|
Smth<String> l = Converter.asSmth(array);
|
|
}
|
|
} |