[duplicates] enable duplicates analysis in PyCharm/WebStorm/PhpStorm/RubyMine

GitOrigin-RevId: 1545b79fdca4888f4b94f47f22703fd37694fa7a
This commit is contained in:
Alexandr Suhinin
2019-05-27 15:07:30 +03:00
committed by intellij-monorepo-bot
parent e12af508c9
commit 9215f4240b
5566 changed files with 30746 additions and 145845 deletions
@@ -1,15 +0,0 @@
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>("");
}
}
@@ -1,21 +0,0 @@
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) { }
}