Fixed test data for ReadJavaBinaryClassTest, avoiding "package" visibility.

This commit is contained in:
Evgeny Gerashchenko
2012-06-15 22:43:08 +04:00
parent c389264a21
commit da1aceb090
83 changed files with 152 additions and 172 deletions
@@ -3,7 +3,7 @@ package test
import java.util.*
public open class MethodWithFunctionTypes : Object() {
open fun foo(p0 : (String?) -> String) : (String.() -> String?)? {
public open fun foo(p0 : (String?) -> String) : (String.() -> String?)? {
throw UnsupportedOperationException()
}
}
@@ -3,5 +3,5 @@ package test
import java.util.*
public open class MethodWithGenerics : Object() {
open fun foo(p0 : String, p1 : List<Map.Entry<String?, String>?>) : String = ""
public open fun foo(p0 : String, p1 : List<Map.Entry<String?, String>?>) : String = ""
}
@@ -3,7 +3,7 @@ package test
import java.util.*
public open class MethodWithTupleType : Object() {
open fun foo(p0 : Tuple2<String, String?>) { // writing Tuple2<..> instead of #(..), because the latter
public open fun foo(p0 : Tuple2<String, String?>) { // writing Tuple2<..> instead of #(..), because the latter
// adds unnecessary "out" keywords
}
}
@@ -3,6 +3,6 @@ package test
import java.util.*
public open class MethodWithTypeParameters : Object() {
open fun <erased A, erased B : Runnable> foo(p0 : A, p1 : List<out B>, p2: List<in String?>) where B : List<Cloneable> {
public open fun <erased A, erased B : Runnable> foo(p0 : A, p1 : List<out B>, p2: List<in String?>) where B : List<Cloneable> {
}
}
@@ -3,7 +3,7 @@ package test
import java.util.*
public open class MethodWithVararg : Object() {
open fun foo(vararg p0 : String) {
public open fun foo(vararg p0 : String) {
throw UnsupportedOperationException()
}
}
@@ -3,7 +3,7 @@ package test
import java.util.*
public open class SyntaxError : Object() {
open fun foo() : Int? {
public open fun foo() : Int? {
throw UnsupportedOperationException()
}
}