Fixed test data for ReadJavaBinaryClassTest, avoiding "package" visibility.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user