[Minor] Re-format :kotlin-klib-commonizer and :kotlin-klib-commonizer-api

This commit is contained in:
sebastian.sellmair
2021-04-14 14:33:50 +02:00
committed by Space
parent f893709e5b
commit 05a6d89151
91 changed files with 1144 additions and 351 deletions
@@ -4,42 +4,63 @@ expect class Holder() {
@Deprecated("See concrete deprecation messages in actual declarations")
expect fun deprecatedFunctionWithCustomizedAnnotation1()
@Deprecated("This function is deprecated")
expect fun deprecatedFunctionWithCustomizedAnnotation2()
@Deprecated("This function is deprecated")
expect fun deprecatedFunctionWithCustomizedAnnotation3()
@Deprecated("This function is deprecated", level = DeprecationLevel.ERROR)
expect fun deprecatedFunctionWithCustomizedAnnotation4()
@Deprecated("This function is deprecated")
expect fun deprecatedFunctionWithCustomizedAnnotation5()
@Deprecated("This function is deprecated")
expect fun deprecatedFunctionWithCustomizedAnnotation6()
@Deprecated("This function is deprecated")
expect fun deprecatedFunctionWithCustomizedAnnotation7()
@Deprecated("This function is deprecated")
expect fun deprecatedFunctionWithCustomizedAnnotation8()
@Deprecated("This function is deprecated")
expect fun deprecatedFunctionWithCustomizedAnnotation9()
@Deprecated("This function is deprecated")
expect fun deprecatedFunctionWithCustomizedAnnotation10()
@Deprecated("This function is deprecated", replaceWith = ReplaceWith("foo()"))
expect fun deprecatedFunctionWithCustomizedAnnotation11()
@Deprecated("This function is deprecated")
expect fun deprecatedFunctionWithCustomizedAnnotation12()
@Deprecated("This function is deprecated")
expect fun deprecatedFunctionWithCustomizedAnnotation13()
@Deprecated("This function is deprecated")
expect fun deprecatedFunctionWithCustomizedAnnotation14()
@Deprecated("This function is deprecated", replaceWith = ReplaceWith("", imports = arrayOf("org.sample.foo")))
expect fun deprecatedFunctionWithCustomizedAnnotation15()
@Deprecated("This function is deprecated")
expect fun deprecatedFunctionWithCustomizedAnnotation16()
@Deprecated("This function is deprecated", replaceWith = ReplaceWith("foo()", imports = arrayOf("org.sample.foo")))
fun deprecatedFunctionWithCustomizedAnnotation17() {}
fun deprecatedFunctionWithCustomizedAnnotation17() {
}
@Deprecated("This function is deprecated")
fun deprecatedFunctionWithCustomizedAnnotation18() {}
fun deprecatedFunctionWithCustomizedAnnotation18() {
}
@Deprecated("This function is deprecated")
fun deprecatedFunctionWithCustomizedAnnotation19() {}
fun deprecatedFunctionWithCustomizedAnnotation19() {
}
expect fun nonDeprecatedFunction1()
}
@@ -1,47 +1,87 @@
actual class Holder actual constructor() {
@Deprecated("This function is deprecated")
actual fun deprecatedFunction1() {}
@Deprecated("This function is deprecated")
fun deprecatedFunction2() {}
actual fun deprecatedFunction1() {
}
@Deprecated("This function is deprecated")
actual fun deprecatedFunctionWithCustomizedAnnotation1() {}
fun deprecatedFunction2() {
}
@Deprecated("This function is deprecated")
actual fun deprecatedFunctionWithCustomizedAnnotation2() {}
actual fun deprecatedFunctionWithCustomizedAnnotation1() {
}
@Deprecated("This function is deprecated")
actual fun deprecatedFunctionWithCustomizedAnnotation2() {
}
@Deprecated("This function is deprecated", level = DeprecationLevel.WARNING)
actual fun deprecatedFunctionWithCustomizedAnnotation3() {}
actual fun deprecatedFunctionWithCustomizedAnnotation3() {
}
@Deprecated("This function is deprecated")
actual fun deprecatedFunctionWithCustomizedAnnotation4() {}
actual fun deprecatedFunctionWithCustomizedAnnotation4() {
}
@Deprecated("This function is deprecated")
actual fun deprecatedFunctionWithCustomizedAnnotation5() {}
actual fun deprecatedFunctionWithCustomizedAnnotation5() {
}
@Deprecated("This function is deprecated", replaceWith = ReplaceWith(""))
actual fun deprecatedFunctionWithCustomizedAnnotation6() {}
actual fun deprecatedFunctionWithCustomizedAnnotation6() {
}
@Deprecated("This function is deprecated")
actual fun deprecatedFunctionWithCustomizedAnnotation7() {}
actual fun deprecatedFunctionWithCustomizedAnnotation7() {
}
@Deprecated("This function is deprecated", replaceWith = ReplaceWith(""))
actual fun deprecatedFunctionWithCustomizedAnnotation8() {}
actual fun deprecatedFunctionWithCustomizedAnnotation8() {
}
@Deprecated("This function is deprecated", replaceWith = ReplaceWith("", imports = emptyArray()))
actual fun deprecatedFunctionWithCustomizedAnnotation9() {}
actual fun deprecatedFunctionWithCustomizedAnnotation9() {
}
@Deprecated("This function is deprecated")
actual fun deprecatedFunctionWithCustomizedAnnotation10() {}
actual fun deprecatedFunctionWithCustomizedAnnotation10() {
}
@Deprecated("This function is deprecated", replaceWith = ReplaceWith("foo()"))
actual fun deprecatedFunctionWithCustomizedAnnotation11() {}
actual fun deprecatedFunctionWithCustomizedAnnotation11() {
}
@Deprecated("This function is deprecated", replaceWith = ReplaceWith("bar()"))
actual fun deprecatedFunctionWithCustomizedAnnotation12() {}
actual fun deprecatedFunctionWithCustomizedAnnotation12() {
}
@Deprecated("This function is deprecated")
actual fun deprecatedFunctionWithCustomizedAnnotation13() {}
actual fun deprecatedFunctionWithCustomizedAnnotation13() {
}
@Deprecated("This function is deprecated", replaceWith = ReplaceWith(""))
actual fun deprecatedFunctionWithCustomizedAnnotation14() {}
actual fun deprecatedFunctionWithCustomizedAnnotation14() {
}
@Deprecated("This function is deprecated", replaceWith = ReplaceWith("", imports = arrayOf("org.sample.foo")))
actual fun deprecatedFunctionWithCustomizedAnnotation15() {}
actual fun deprecatedFunctionWithCustomizedAnnotation15() {
}
@Deprecated("This function is deprecated", replaceWith = ReplaceWith("", imports = arrayOf("org.sample.bar")))
actual fun deprecatedFunctionWithCustomizedAnnotation16() {}
actual fun deprecatedFunctionWithCustomizedAnnotation16() {
}
@Deprecated("This function is deprecated", replaceWith = ReplaceWith("foo()", imports = arrayOf("org.sample.foo")))
actual fun deprecatedFunctionWithCustomizedAnnotation17() {}
actual fun deprecatedFunctionWithCustomizedAnnotation17() {
}
@Deprecated("This function is deprecated", replaceWith = ReplaceWith("foo()", imports = arrayOf("org.sample.bar")))
actual fun deprecatedFunctionWithCustomizedAnnotation18() {}
actual fun deprecatedFunctionWithCustomizedAnnotation18() {
}
@Deprecated("This function is deprecated", replaceWith = ReplaceWith("bar()", imports = arrayOf("org.sample.foo")))
actual fun deprecatedFunctionWithCustomizedAnnotation19() {}
actual fun deprecatedFunctionWithCustomizedAnnotation19() {
}
actual fun nonDeprecatedFunction1() {}
fun nonDeprecatedFunction2() {}
@@ -1,47 +1,87 @@
actual class Holder actual constructor() {
@Deprecated("This function is deprecated")
actual fun deprecatedFunction1() {}
actual fun deprecatedFunction1() {
}
@Deprecated("This function is deprecated")
fun deprecatedFunction3() {}
fun deprecatedFunction3() {
}
@Deprecated("This function is deprecated as well")
actual fun deprecatedFunctionWithCustomizedAnnotation1() {}
actual fun deprecatedFunctionWithCustomizedAnnotation1() {
}
@Deprecated("This function is deprecated", level = DeprecationLevel.WARNING)
actual fun deprecatedFunctionWithCustomizedAnnotation2() {}
actual fun deprecatedFunctionWithCustomizedAnnotation2() {
}
@Deprecated("This function is deprecated", level = DeprecationLevel.WARNING)
actual fun deprecatedFunctionWithCustomizedAnnotation3() {}
actual fun deprecatedFunctionWithCustomizedAnnotation3() {
}
@Deprecated("This function is deprecated", level = DeprecationLevel.ERROR)
actual fun deprecatedFunctionWithCustomizedAnnotation4() {}
actual fun deprecatedFunctionWithCustomizedAnnotation4() {
}
@Deprecated("This function is deprecated", replaceWith = ReplaceWith(""))
actual fun deprecatedFunctionWithCustomizedAnnotation5() {}
actual fun deprecatedFunctionWithCustomizedAnnotation5() {
}
@Deprecated("This function is deprecated", replaceWith = ReplaceWith(""))
actual fun deprecatedFunctionWithCustomizedAnnotation6() {}
actual fun deprecatedFunctionWithCustomizedAnnotation6() {
}
@Deprecated("This function is deprecated", replaceWith = ReplaceWith("", imports = emptyArray()))
actual fun deprecatedFunctionWithCustomizedAnnotation7() {}
actual fun deprecatedFunctionWithCustomizedAnnotation7() {
}
@Deprecated("This function is deprecated", replaceWith = ReplaceWith("", imports = emptyArray()))
actual fun deprecatedFunctionWithCustomizedAnnotation8() {}
actual fun deprecatedFunctionWithCustomizedAnnotation8() {
}
@Deprecated("This function is deprecated", replaceWith = ReplaceWith("", imports = emptyArray()))
actual fun deprecatedFunctionWithCustomizedAnnotation9() {}
actual fun deprecatedFunctionWithCustomizedAnnotation9() {
}
@Deprecated("This function is deprecated", replaceWith = ReplaceWith("foo()"))
actual fun deprecatedFunctionWithCustomizedAnnotation10() {}
actual fun deprecatedFunctionWithCustomizedAnnotation10() {
}
@Deprecated("This function is deprecated", replaceWith = ReplaceWith("foo()"))
actual fun deprecatedFunctionWithCustomizedAnnotation11() {}
actual fun deprecatedFunctionWithCustomizedAnnotation11() {
}
@Deprecated("This function is deprecated", replaceWith = ReplaceWith("foo()"))
actual fun deprecatedFunctionWithCustomizedAnnotation12() {}
actual fun deprecatedFunctionWithCustomizedAnnotation12() {
}
@Deprecated("This function is deprecated", replaceWith = ReplaceWith("", imports = arrayOf("org.sample.foo")))
actual fun deprecatedFunctionWithCustomizedAnnotation13() {}
actual fun deprecatedFunctionWithCustomizedAnnotation13() {
}
@Deprecated("This function is deprecated", replaceWith = ReplaceWith("", imports = arrayOf("org.sample.foo")))
actual fun deprecatedFunctionWithCustomizedAnnotation14() {}
actual fun deprecatedFunctionWithCustomizedAnnotation14() {
}
@Deprecated("This function is deprecated", replaceWith = ReplaceWith("", imports = arrayOf("org.sample.foo")))
actual fun deprecatedFunctionWithCustomizedAnnotation15() {}
actual fun deprecatedFunctionWithCustomizedAnnotation15() {
}
@Deprecated("This function is deprecated", replaceWith = ReplaceWith("", imports = arrayOf("org.sample.foo")))
actual fun deprecatedFunctionWithCustomizedAnnotation16() {}
actual fun deprecatedFunctionWithCustomizedAnnotation16() {
}
@Deprecated("This function is deprecated", replaceWith = ReplaceWith("foo()", imports = arrayOf("org.sample.foo")))
actual fun deprecatedFunctionWithCustomizedAnnotation17() {}
actual fun deprecatedFunctionWithCustomizedAnnotation17() {
}
@Deprecated("This function is deprecated", replaceWith = ReplaceWith("foo()", imports = arrayOf("org.sample.foo")))
actual fun deprecatedFunctionWithCustomizedAnnotation18() {}
actual fun deprecatedFunctionWithCustomizedAnnotation18() {
}
@Deprecated("This function is deprecated", replaceWith = ReplaceWith("foo()", imports = arrayOf("org.sample.foo")))
actual fun deprecatedFunctionWithCustomizedAnnotation19() {}
actual fun deprecatedFunctionWithCustomizedAnnotation19() {
}
actual fun nonDeprecatedFunction1() {}
fun nonDeprecatedFunction3() {}
@@ -1,52 +1,95 @@
@Deprecated("This function is deprecated")
fun deprecatedFunction1() {}
fun deprecatedFunction1() {
}
@Deprecated("This function is deprecated")
fun deprecatedFunction2() {}
fun deprecatedFunction2() {
}
class Holder {
@Deprecated("This function is deprecated")
fun deprecatedFunction1() {}
@Deprecated("This function is deprecated")
fun deprecatedFunction2() {}
fun deprecatedFunction1() {
}
@Deprecated("This function is deprecated")
fun deprecatedFunctionWithCustomizedAnnotation1() {}
fun deprecatedFunction2() {
}
@Deprecated("This function is deprecated")
fun deprecatedFunctionWithCustomizedAnnotation2() {}
fun deprecatedFunctionWithCustomizedAnnotation1() {
}
@Deprecated("This function is deprecated")
fun deprecatedFunctionWithCustomizedAnnotation2() {
}
@Deprecated("This function is deprecated", level = DeprecationLevel.WARNING)
fun deprecatedFunctionWithCustomizedAnnotation3() {}
fun deprecatedFunctionWithCustomizedAnnotation3() {
}
@Deprecated("This function is deprecated")
fun deprecatedFunctionWithCustomizedAnnotation4() {}
fun deprecatedFunctionWithCustomizedAnnotation4() {
}
@Deprecated("This function is deprecated")
fun deprecatedFunctionWithCustomizedAnnotation5() {}
fun deprecatedFunctionWithCustomizedAnnotation5() {
}
@Deprecated("This function is deprecated", replaceWith = ReplaceWith(""))
fun deprecatedFunctionWithCustomizedAnnotation6() {}
fun deprecatedFunctionWithCustomizedAnnotation6() {
}
@Deprecated("This function is deprecated")
fun deprecatedFunctionWithCustomizedAnnotation7() {}
fun deprecatedFunctionWithCustomizedAnnotation7() {
}
@Deprecated("This function is deprecated", replaceWith = ReplaceWith(""))
fun deprecatedFunctionWithCustomizedAnnotation8() {}
fun deprecatedFunctionWithCustomizedAnnotation8() {
}
@Deprecated("This function is deprecated", replaceWith = ReplaceWith("", imports = emptyArray()))
fun deprecatedFunctionWithCustomizedAnnotation9() {}
fun deprecatedFunctionWithCustomizedAnnotation9() {
}
@Deprecated("This function is deprecated")
fun deprecatedFunctionWithCustomizedAnnotation10() {}
fun deprecatedFunctionWithCustomizedAnnotation10() {
}
@Deprecated("This function is deprecated", replaceWith = ReplaceWith("foo()"))
fun deprecatedFunctionWithCustomizedAnnotation11() {}
fun deprecatedFunctionWithCustomizedAnnotation11() {
}
@Deprecated("This function is deprecated", replaceWith = ReplaceWith("bar()"))
fun deprecatedFunctionWithCustomizedAnnotation12() {}
fun deprecatedFunctionWithCustomizedAnnotation12() {
}
@Deprecated("This function is deprecated")
fun deprecatedFunctionWithCustomizedAnnotation13() {}
fun deprecatedFunctionWithCustomizedAnnotation13() {
}
@Deprecated("This function is deprecated", replaceWith = ReplaceWith(""))
fun deprecatedFunctionWithCustomizedAnnotation14() {}
fun deprecatedFunctionWithCustomizedAnnotation14() {
}
@Deprecated("This function is deprecated", replaceWith = ReplaceWith("", imports = arrayOf("org.sample.foo")))
fun deprecatedFunctionWithCustomizedAnnotation15() {}
fun deprecatedFunctionWithCustomizedAnnotation15() {
}
@Deprecated("This function is deprecated", replaceWith = ReplaceWith("", imports = arrayOf("org.sample.bar")))
fun deprecatedFunctionWithCustomizedAnnotation16() {}
fun deprecatedFunctionWithCustomizedAnnotation16() {
}
@Deprecated("This function is deprecated", replaceWith = ReplaceWith("foo()", imports = arrayOf("org.sample.foo")))
fun deprecatedFunctionWithCustomizedAnnotation17() {}
fun deprecatedFunctionWithCustomizedAnnotation17() {
}
@Deprecated("This function is deprecated", replaceWith = ReplaceWith("foo()", imports = arrayOf("org.sample.bar")))
fun deprecatedFunctionWithCustomizedAnnotation18() {}
fun deprecatedFunctionWithCustomizedAnnotation18() {
}
@Deprecated("This function is deprecated", replaceWith = ReplaceWith("bar()", imports = arrayOf("org.sample.foo")))
fun deprecatedFunctionWithCustomizedAnnotation19() {}
fun deprecatedFunctionWithCustomizedAnnotation19() {
}
fun nonDeprecatedFunction1() {}
fun nonDeprecatedFunction2() {}
@@ -1,52 +1,95 @@
@Deprecated("This function is deprecated")
fun deprecatedFunction1() {}
fun deprecatedFunction1() {
}
@Deprecated("This function is deprecated")
fun deprecatedFunction3() {}
fun deprecatedFunction3() {
}
class Holder {
@Deprecated("This function is deprecated")
fun deprecatedFunction1() {}
fun deprecatedFunction1() {
}
@Deprecated("This function is deprecated")
fun deprecatedFunction3() {}
fun deprecatedFunction3() {
}
@Deprecated("This function is deprecated as well")
fun deprecatedFunctionWithCustomizedAnnotation1() {}
fun deprecatedFunctionWithCustomizedAnnotation1() {
}
@Deprecated("This function is deprecated", level = DeprecationLevel.WARNING)
fun deprecatedFunctionWithCustomizedAnnotation2() {}
fun deprecatedFunctionWithCustomizedAnnotation2() {
}
@Deprecated("This function is deprecated", level = DeprecationLevel.WARNING)
fun deprecatedFunctionWithCustomizedAnnotation3() {}
fun deprecatedFunctionWithCustomizedAnnotation3() {
}
@Deprecated("This function is deprecated", level = DeprecationLevel.ERROR)
fun deprecatedFunctionWithCustomizedAnnotation4() {}
fun deprecatedFunctionWithCustomizedAnnotation4() {
}
@Deprecated("This function is deprecated", replaceWith = ReplaceWith(""))
fun deprecatedFunctionWithCustomizedAnnotation5() {}
fun deprecatedFunctionWithCustomizedAnnotation5() {
}
@Deprecated("This function is deprecated", replaceWith = ReplaceWith(""))
fun deprecatedFunctionWithCustomizedAnnotation6() {}
fun deprecatedFunctionWithCustomizedAnnotation6() {
}
@Deprecated("This function is deprecated", replaceWith = ReplaceWith("", imports = emptyArray()))
fun deprecatedFunctionWithCustomizedAnnotation7() {}
fun deprecatedFunctionWithCustomizedAnnotation7() {
}
@Deprecated("This function is deprecated", replaceWith = ReplaceWith("", imports = emptyArray()))
fun deprecatedFunctionWithCustomizedAnnotation8() {}
fun deprecatedFunctionWithCustomizedAnnotation8() {
}
@Deprecated("This function is deprecated", replaceWith = ReplaceWith("", imports = emptyArray()))
fun deprecatedFunctionWithCustomizedAnnotation9() {}
fun deprecatedFunctionWithCustomizedAnnotation9() {
}
@Deprecated("This function is deprecated", replaceWith = ReplaceWith("foo()"))
fun deprecatedFunctionWithCustomizedAnnotation10() {}
fun deprecatedFunctionWithCustomizedAnnotation10() {
}
@Deprecated("This function is deprecated", replaceWith = ReplaceWith("foo()"))
fun deprecatedFunctionWithCustomizedAnnotation11() {}
fun deprecatedFunctionWithCustomizedAnnotation11() {
}
@Deprecated("This function is deprecated", replaceWith = ReplaceWith("foo()"))
fun deprecatedFunctionWithCustomizedAnnotation12() {}
fun deprecatedFunctionWithCustomizedAnnotation12() {
}
@Deprecated("This function is deprecated", replaceWith = ReplaceWith("", imports = arrayOf("org.sample.foo")))
fun deprecatedFunctionWithCustomizedAnnotation13() {}
fun deprecatedFunctionWithCustomizedAnnotation13() {
}
@Deprecated("This function is deprecated", replaceWith = ReplaceWith("", imports = arrayOf("org.sample.foo")))
fun deprecatedFunctionWithCustomizedAnnotation14() {}
fun deprecatedFunctionWithCustomizedAnnotation14() {
}
@Deprecated("This function is deprecated", replaceWith = ReplaceWith("", imports = arrayOf("org.sample.foo")))
fun deprecatedFunctionWithCustomizedAnnotation15() {}
fun deprecatedFunctionWithCustomizedAnnotation15() {
}
@Deprecated("This function is deprecated", replaceWith = ReplaceWith("", imports = arrayOf("org.sample.foo")))
fun deprecatedFunctionWithCustomizedAnnotation16() {}
fun deprecatedFunctionWithCustomizedAnnotation16() {
}
@Deprecated("This function is deprecated", replaceWith = ReplaceWith("foo()", imports = arrayOf("org.sample.foo")))
fun deprecatedFunctionWithCustomizedAnnotation17() {}
fun deprecatedFunctionWithCustomizedAnnotation17() {
}
@Deprecated("This function is deprecated", replaceWith = ReplaceWith("foo()", imports = arrayOf("org.sample.foo")))
fun deprecatedFunctionWithCustomizedAnnotation18() {}
fun deprecatedFunctionWithCustomizedAnnotation18() {
}
@Deprecated("This function is deprecated", replaceWith = ReplaceWith("foo()", imports = arrayOf("org.sample.foo")))
fun deprecatedFunctionWithCustomizedAnnotation19() {}
fun deprecatedFunctionWithCustomizedAnnotation19() {
}
fun nonDeprecatedFunction1() {}
fun nonDeprecatedFunction3() {}