Add tests for inherited annotations (class declarations)

This commit is contained in:
Yan Zhulanow
2015-06-23 17:38:28 +03:00
parent 09c3bd8699
commit afa3ae4439
6 changed files with 43 additions and 5 deletions
@@ -0,0 +1,4 @@
p org.test 0
d 0/SomeInterface
d 0/SomeInterface$$TImpl
d 0/SomeClass
@@ -0,0 +1,5 @@
package org.test
public interface SomeInterface
public class SomeClass
@@ -0,0 +1,6 @@
p org.test 0
d 0/TestPackage$inheritedTopLevel$*
a org.jetbrains.annotations.NotNull 0
m 0 0/TestPackage$inheritedTopLevel$* getTopLevelProperty
d 0/TestPackage
m 0 0/TestPackage getTopLevelProperty
@@ -0,0 +1,8 @@
package org.test
fun topLevelFunction() {
}
val topLevelProperty: String
get() = "text"