EditorConfig documentation test

GitOrigin-RevId: fd52ace3d7a32ecd02c2c5ab90e077967604c15e
This commit is contained in:
Rustam Vishnyakov
2019-06-08 15:31:49 +03:00
committed by intellij-monorepo-bot
parent e6e3eaa09d
commit 123242c4b2
11726 changed files with 314331 additions and 158049 deletions

View File

@@ -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>("");
}
}

View File

@@ -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) { }
}