From 1c78ecebfb6fc2b24c64c13f7e85218b01a7a69b Mon Sep 17 00:00:00 2001 From: Marcin Aman Date: Tue, 16 Feb 2021 21:15:02 +0100 Subject: Fix displaying default java visibility (#1738) --- .../kotlin/model/annotations/JavaAnnotationsForParametersTest.kt | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'plugins/base/src/test/kotlin/model/annotations/JavaAnnotationsForParametersTest.kt') diff --git a/plugins/base/src/test/kotlin/model/annotations/JavaAnnotationsForParametersTest.kt b/plugins/base/src/test/kotlin/model/annotations/JavaAnnotationsForParametersTest.kt index 9e00fafd..3e5c8176 100644 --- a/plugins/base/src/test/kotlin/model/annotations/JavaAnnotationsForParametersTest.kt +++ b/plugins/base/src/test/kotlin/model/annotations/JavaAnnotationsForParametersTest.kt @@ -13,7 +13,7 @@ class JavaAnnotationsForParametersTest : AbstractModelTest("/src/main/kotlin/jav fun `function with deprecated parameter`() { inlineModelTest( """ - |class Test { + |public class Test { | public void fn(@Deprecated String name) {} |} """.trimIndent() @@ -37,7 +37,7 @@ class JavaAnnotationsForParametersTest : AbstractModelTest("/src/main/kotlin/jav |public @interface Hello { | public String bar() default ""; |} - |class Test { + |public class Test { | public void foo(@Hello(bar = "baz") String arg){ } |} """.trimIndent() @@ -65,7 +65,7 @@ class JavaAnnotationsForParametersTest : AbstractModelTest("/src/main/kotlin/jav |@interface Hello { | public String bar() default ""; |} - |class Test { + |public class Test { | public <@Hello(bar = "baz") T> List foo() { | return null; | } @@ -94,7 +94,7 @@ class JavaAnnotationsForParametersTest : AbstractModelTest("/src/main/kotlin/jav |@interface Hello { | public String bar() default ""; |} - |class Test { + |public class Test { | public List foo() { | return null; | } -- cgit