Renamed MethodWithAlternativeSignature test to MethodWithGenerics, since there will be more tests for methods with alternative signature.
This commit is contained in:
-6
@@ -1,6 +0,0 @@
|
|||||||
namespace test
|
|
||||||
|
|
||||||
open class test.MethodWithAlternativeSignature : java.lang.Object {
|
|
||||||
final /*constructor*/ fun <init>(): test.MethodWithAlternativeSignature
|
|
||||||
open fun foo(/*0*/ p0: jet.String, /*1*/ p1: java.util.List<java.util.Map.Entry<jet.String?, jet.String>?>): jet.String
|
|
||||||
}
|
|
||||||
+1
-1
@@ -4,7 +4,7 @@ import java.lang.UnsupportedOperationException;
|
|||||||
import java.util.*;
|
import java.util.*;
|
||||||
import jet.runtime.typeinfo.KotlinSignature;
|
import jet.runtime.typeinfo.KotlinSignature;
|
||||||
|
|
||||||
public class MethodWithAlternativeSignature {
|
public class MethodWithGenerics {
|
||||||
@KotlinSignature("fun foo(a : String, b : List<Map.Entry<String?, String>?>) : String")
|
@KotlinSignature("fun foo(a : String, b : List<Map.Entry<String?, String>?>) : String")
|
||||||
public String foo(String a, List<Map.Entry<String, String>> b) {
|
public String foo(String a, List<Map.Entry<String, String>> b) {
|
||||||
throw new UnsupportedOperationException();
|
throw new UnsupportedOperationException();
|
||||||
+1
-1
@@ -2,6 +2,6 @@ package test
|
|||||||
|
|
||||||
import java.util.*
|
import java.util.*
|
||||||
|
|
||||||
public open class MethodWithAlternativeSignature : Object() {
|
public open class MethodWithGenerics : Object() {
|
||||||
open fun foo(p0 : String, p1 : List<Map.Entry<String?, String>?>) : String = ""
|
open fun foo(p0 : String, p1 : List<Map.Entry<String?, String>?>) : String = ""
|
||||||
}
|
}
|
||||||
@@ -0,0 +1,6 @@
|
|||||||
|
namespace test
|
||||||
|
|
||||||
|
open class test.MethodWithGenerics : java.lang.Object {
|
||||||
|
final /*constructor*/ fun <init>(): test.MethodWithGenerics
|
||||||
|
open fun foo(/*0*/ p0: jet.String, /*1*/ p1: java.util.List<java.util.Map.Entry<jet.String?, jet.String>?>): jet.String
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user