mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-08-26 03:13:40 +07:00
testdata for IDEA-149670
This commit is contained in:
+17
@@ -0,0 +1,17 @@
|
||||
import java.util.function.Supplier;
|
||||
|
||||
class LazyVal<T> {
|
||||
public LazyVal(Supplier<T> supplier) {}
|
||||
public LazyVal(T value) {}
|
||||
}
|
||||
|
||||
class Sample {
|
||||
|
||||
String getString() {
|
||||
return "";
|
||||
}
|
||||
|
||||
public void usage() {
|
||||
new LazyVal<>(() -> new Sample().getString());
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user