For example I have following Java inteface
public interface Test<T,M> {
public M get(T t);
}
if I whant create ananymoys class in java with this interface
val t = new Test[Int,Boolean](){
def get(t: Boolean) = 0
}
I have following error
Scala.scala:15: error: scal.test.example.Test does not take type parameters val t = new Test[Int,Boolean](){