mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-04-18 04:21:24 +07:00
EditorConfig documentation test
GitOrigin-RevId: fd52ace3d7a32ecd02c2c5ab90e077967604c15e
This commit is contained in:
committed by
intellij-monorepo-bot
parent
e6e3eaa09d
commit
123242c4b2
@@ -0,0 +1,15 @@
|
||||
interface Either {
|
||||
public static final class Left<L> {
|
||||
private final L value;
|
||||
|
||||
private Left(L value) {
|
||||
this.value = value;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
class Main {
|
||||
{
|
||||
new <error descr="'Left(L)' has private access in 'Either.Left'">Either.Left<></error>("");
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,21 @@
|
||||
import java.util.function.*;
|
||||
|
||||
class A {
|
||||
|
||||
{
|
||||
B<Double> local;
|
||||
method(local = new B<>(new C<>((supplier) -> supplier.get())));
|
||||
}
|
||||
|
||||
void method(B<?> value) {
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
class B<T> {
|
||||
B(C<T> c) { }
|
||||
}
|
||||
|
||||
class C<T> {
|
||||
C(Function<Supplier<T>, T> f) { }
|
||||
}
|
||||
Reference in New Issue
Block a user