[Commonizer] Limited annotation commonization. Tests
^KMM-238 ^KMM-53
This commit is contained in:
+48
@@ -0,0 +1,48 @@
|
||||
actual class Holder actual constructor() {
|
||||
@Deprecated("This function is deprecated")
|
||||
actual fun deprecatedFunction1() {}
|
||||
@Deprecated("This function is deprecated")
|
||||
fun deprecatedFunction2() {}
|
||||
|
||||
@Deprecated("This function is deprecated")
|
||||
actual fun deprecatedFunctionWithCustomizedAnnotation1() {}
|
||||
@Deprecated("This function is deprecated")
|
||||
actual fun deprecatedFunctionWithCustomizedAnnotation2() {}
|
||||
@Deprecated("This function is deprecated", level = DeprecationLevel.WARNING)
|
||||
actual fun deprecatedFunctionWithCustomizedAnnotation3() {}
|
||||
@Deprecated("This function is deprecated")
|
||||
actual fun deprecatedFunctionWithCustomizedAnnotation4() {}
|
||||
@Deprecated("This function is deprecated")
|
||||
actual fun deprecatedFunctionWithCustomizedAnnotation5() {}
|
||||
@Deprecated("This function is deprecated", replaceWith = ReplaceWith(""))
|
||||
actual fun deprecatedFunctionWithCustomizedAnnotation6() {}
|
||||
@Deprecated("This function is deprecated")
|
||||
actual fun deprecatedFunctionWithCustomizedAnnotation7() {}
|
||||
@Deprecated("This function is deprecated", replaceWith = ReplaceWith(""))
|
||||
actual fun deprecatedFunctionWithCustomizedAnnotation8() {}
|
||||
@Deprecated("This function is deprecated", replaceWith = ReplaceWith("", imports = emptyArray()))
|
||||
actual fun deprecatedFunctionWithCustomizedAnnotation9() {}
|
||||
@Deprecated("This function is deprecated")
|
||||
actual fun deprecatedFunctionWithCustomizedAnnotation10() {}
|
||||
@Deprecated("This function is deprecated", replaceWith = ReplaceWith("foo()"))
|
||||
actual fun deprecatedFunctionWithCustomizedAnnotation11() {}
|
||||
@Deprecated("This function is deprecated", replaceWith = ReplaceWith("bar()"))
|
||||
actual fun deprecatedFunctionWithCustomizedAnnotation12() {}
|
||||
@Deprecated("This function is deprecated")
|
||||
actual fun deprecatedFunctionWithCustomizedAnnotation13() {}
|
||||
@Deprecated("This function is deprecated", replaceWith = ReplaceWith(""))
|
||||
actual fun deprecatedFunctionWithCustomizedAnnotation14() {}
|
||||
@Deprecated("This function is deprecated", replaceWith = ReplaceWith("", imports = arrayOf("org.sample.foo")))
|
||||
actual fun deprecatedFunctionWithCustomizedAnnotation15() {}
|
||||
@Deprecated("This function is deprecated", replaceWith = ReplaceWith("", imports = arrayOf("org.sample.bar")))
|
||||
actual fun deprecatedFunctionWithCustomizedAnnotation16() {}
|
||||
@Deprecated("This function is deprecated", replaceWith = ReplaceWith("foo()", imports = arrayOf("org.sample.foo")))
|
||||
actual fun deprecatedFunctionWithCustomizedAnnotation17() {}
|
||||
@Deprecated("This function is deprecated", replaceWith = ReplaceWith("foo()", imports = arrayOf("org.sample.bar")))
|
||||
actual fun deprecatedFunctionWithCustomizedAnnotation18() {}
|
||||
@Deprecated("This function is deprecated", replaceWith = ReplaceWith("bar()", imports = arrayOf("org.sample.foo")))
|
||||
actual fun deprecatedFunctionWithCustomizedAnnotation19() {}
|
||||
|
||||
actual fun nonDeprecatedFunction1() {}
|
||||
fun nonDeprecatedFunction2() {}
|
||||
}
|
||||
Reference in New Issue
Block a user