blob: ccff1ff4e762e9686512f38d17a486f2f17cb920 [file] [log] [blame]
interface Runnable{}
interface Class<T>{}
public class Foo implements Runnable{
static <T> void foo(Class<T> aClass, T t) { }
Class<Foo> getC(){ return new Class<Foo>(){};}
public void run() {
}
{
<ref>foo(new Class<Runnable>(){}, this);
}
}