mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-07 13:39:36 +07:00
new inference: process varargs as separate method candidate/separate phase
(cherry picked from commit fdd6f66268d29bb996a103f69180851b92947d21)
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
abstract class Im {
|
||||
public static final Class[] EMPTY_CLASS_ARRAY = new Class[0];
|
||||
public abstract <T> T createProxy(final Class<T> superClass, final Class... otherInterfaces);
|
||||
|
||||
void f(Class<?> implementation, Class rawType, boolean isInterface) {
|
||||
createProxy(implementation, isInterface ? new Class[]{rawType} : EMPTY_CLASS_ARRAY);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user