aboutsummaryrefslogtreecommitdiff
path: root/plugins/base/src/test/kotlin/model/annotations/JavaAnnotationsForParametersTest.kt
diff options
context:
space:
mode:
authorMarcin Aman <marcin.aman@gmail.com>2021-02-16 21:15:02 +0100
committerGitHub <noreply@github.com>2021-02-16 21:15:02 +0100
commit1c78ecebfb6fc2b24c64c13f7e85218b01a7a69b (patch)
treecbd27431b6ac40f74ef6526861fa8b2543741b7a /plugins/base/src/test/kotlin/model/annotations/JavaAnnotationsForParametersTest.kt
parent116179e26a60d1b98d842ff6decc6119062475ae (diff)
downloaddokka-1c78ecebfb6fc2b24c64c13f7e85218b01a7a69b.tar.gz
dokka-1c78ecebfb6fc2b24c64c13f7e85218b01a7a69b.tar.bz2
dokka-1c78ecebfb6fc2b24c64c13f7e85218b01a7a69b.zip
Fix displaying default java visibility (#1738)
Diffstat (limited to 'plugins/base/src/test/kotlin/model/annotations/JavaAnnotationsForParametersTest.kt')
-rw-r--r--plugins/base/src/test/kotlin/model/annotations/JavaAnnotationsForParametersTest.kt8
1 files changed, 4 insertions, 4 deletions
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<T> 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 <T extends @Hello(bar = "baz") String> List<T> foo() {
| return null;
| }