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
@@ -2,5 +2,5 @@ package test;
@java.lang.annotation.Retention(java.lang.annotation.RetentionPolicy.CLASS)
@AnnotatedAnnotation
@interface AnnotatedAnnotation {
public @interface AnnotatedAnnotation {
}
@@ -1,4 +1,4 @@
package test
[AnnotatedAnnotation]
annotation class AnnotatedAnnotation
public annotation class AnnotatedAnnotation
@@ -1,12 +1,6 @@
package test;
import java.lang.annotation.*;
@Retention(RetentionPolicy.CLASS)
@interface Aaa {
}
class HasAnnotatedMethod {
@Aaa
public class AnnotatedMethod {
@Deprecated
public void f() { }
}
@@ -1,7 +1,5 @@
package test
annotation class Aaa
open class HasAnnotatedMethod() : java.lang.Object() {
open Aaa fun f(): Unit { }
public open class AnnotatedMethod() : java.lang.Object() {
public open Deprecated fun f(): Unit { }
}
@@ -1,4 +1,4 @@
package test;
@interface SimpleAnnotation {
public @interface SimpleAnnotation {
}
@@ -1,3 +1,3 @@
package test
annotation class SimpleAnnotation
public annotation class SimpleAnnotation