Implemented HiddenDeclaration annotation (doc-comment to be added!)

This commit is contained in:
Valentin Kipyatkov
2015-08-28 20:18:32 +03:00
parent ba4fb3e37c
commit e8dc9ede31
12 changed files with 205 additions and 6 deletions
@@ -0,0 +1,14 @@
package test
@HiddenDeclaration
fun hiddenFun(){}
fun notHiddenFun(){}
@HiddenDeclaration
var hiddenProperty: Int = 1
var notHiddenProperty: Int = 1
@HiddenDeclaration
val String.hiddenExtension: Int get() = 1
@@ -0,0 +1,16 @@
package test
@HiddenDeclaration
fun hiddenFunFromSameFile(){}
fun String.foo() {
hid<caret>
}
// INVOCATION_COUNT: 2
// ABSENT: hiddenFun
// ABSENT: hiddenProperty
// ABSENT: hiddenFunFromSameFile
// ABSENT: hiddenExtension
// EXIST: notHiddenFun
// EXIST: notHiddenProperty