Fix annotation collector tests (now using mock JDK)

This commit is contained in:
Yan Zhulanow
2015-05-20 16:02:51 +03:00
parent 921017367a
commit b9a9f783e9
19 changed files with 53 additions and 78 deletions
@@ -1,14 +1,12 @@
package org.test
import javax.inject.*
public class SomeClass {
public data class SomeClass {
public val immutableProperty: Int = 5
[Inject] get
[Deprecated] get
public var mutableProperty: String = "String"
[Inject] get
[Inject] set
[Deprecated] get
[Deprecated] set
}
@@ -1,8 +1,11 @@
a javax.inject.Inject 0
a kotlin.data 0
p org.test 0
m 0 0/SomeClass getImmutableProperty
a org.jetbrains.annotations.NotNull 1
f 1 0/SomeClass mutableProperty
m 0 0/SomeClass getMutableProperty
c 0 0/SomeClass
a java.lang.Deprecated 1
m 1 0/SomeClass getImmutableProperty
a org.jetbrains.annotations.NotNull 2
f 2 0/SomeClass mutableProperty
m 1 0/SomeClass getMutableProperty
m 0 0/SomeClass setMutableProperty
m 2 0/SomeClass getMutableProperty
m 1 0/SomeClass setMutableProperty
m 2 0/SomeClass copy