mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-08 15:53:19 +00:00
mapped in standard library (and differs from auto transformed Java signature) e.g.Collections.copy(MutableList, List)
13 lines
381 B
Java
13 lines
381 B
Java
package test;
|
|
|
|
import java.lang.UnsupportedOperationException;
|
|
import java.util.*;
|
|
import jet.runtime.typeinfo.KotlinSignature;
|
|
|
|
public class MethodWithMappedClasses {
|
|
@KotlinSignature("fun <T> copy(dest : MutableList<in T>, src : List<out T>)")
|
|
public <T> void copy(List<? super T> dest, List<? extends T> src) {
|
|
throw new UnsupportedOperationException();
|
|
}
|
|
}
|