Package eu.mihosoft.vmf.runtime.core
Class ErasureIsStupid
- java.lang.Object
-
- eu.mihosoft.vmf.runtime.core.ErasureIsStupid
-
public final class ErasureIsStupid extends java.lang.Object
TheErasureIsStupid
class is an uninstantiable placeholder. We use it to prevent name clashes that occur in methods with identical name but different generic arguments due to type erasure. To fix this limitation, we force a method signature change by addingErasureIsStupid...
as last method parameter. By doing this, the method's required arguments do not change.