Basic annotation collector tests
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
a javax.inject.Named 0
|
||||
c 0 SomeClass
|
||||
a javax.inject.Inject 1
|
||||
f 1 SomeClass annotatedProperty
|
||||
a org.jetbrains.annotations.Nullable 2
|
||||
f 2 SomeClass annotatedProperty
|
||||
m 2 SomeClass getAnnotatedProperty
|
||||
m 1 SomeClass annotatedFunction
|
||||
@@ -0,0 +1,14 @@
|
||||
import javax.inject.*
|
||||
|
||||
Named("KotlinClass")
|
||||
public class SomeClass {
|
||||
|
||||
Inject
|
||||
public var annotatedProperty: String? = null
|
||||
|
||||
Inject
|
||||
public fun annotatedFunction() {
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user