mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-04-18 04:21:24 +07:00
method refs: take into account super class substitutor
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
class Double {
|
||||
public static Double sum(Double a, Double b) {
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
interface BinaryOperator<T> extends BiFunction<T,T,T> {
|
||||
}
|
||||
|
||||
interface BiFunction<T, U, R> {
|
||||
R apply(T t, U u);
|
||||
}
|
||||
|
||||
class U {
|
||||
{
|
||||
BinaryOperator<Double> doubleBinaryOperator = Double::sum;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user