diff options
-rw-r--r-- | plugins/base/src/test/kotlin/translators/Bug1341.kt | 19 |
1 files changed, 1 insertions, 18 deletions
diff --git a/plugins/base/src/test/kotlin/translators/Bug1341.kt b/plugins/base/src/test/kotlin/translators/Bug1341.kt index 5305e6b0..285cd53a 100644 --- a/plugins/base/src/test/kotlin/translators/Bug1341.kt +++ b/plugins/base/src/test/kotlin/translators/Bug1341.kt @@ -22,33 +22,16 @@ class Bug1341 : AbstractCoreTest() { """ /src/com/sample/OtherClass.kt package com.sample - /** - * @suppress - */ class OtherClass internal constructor() { - @kotlin.annotation.Retention(AnnotationRetention.SOURCE) - @IntDef(ELEM_1, ELEM_2, ELEM_3) internal annotation class CustomAnnotation - - companion object { - const val ELEM_1 = 1 - const val ELEM_2 = -1 - const val ELEM_3 = 0 - } } /src/com/sample/ClassUsingAnnotation.java package com.sample - import static sample.OtherClass.ELEM_1; - - /** - * @suppress - */ public class ClassUsingAnnotation { - @OtherClass.CustomAnnotation public int doSomething() { - return ELEM_1; + return 1; } } """.trimIndent(), |