Kapt: Fix star indentation in stub Javadoc (KT-30163)
This commit is contained in:
@@ -118,9 +118,9 @@ public final class Test {
|
||||
import java.lang.System;
|
||||
|
||||
/**
|
||||
* * Test2
|
||||
* * Multiline
|
||||
* * documentation.
|
||||
* Test2
|
||||
* Multiline
|
||||
* documentation.
|
||||
*/
|
||||
@kotlin.Metadata()
|
||||
public final class Test2 {
|
||||
@@ -184,7 +184,7 @@ public final class Test4 {
|
||||
import java.lang.System;
|
||||
|
||||
/**
|
||||
* * `/ * Failure * /`
|
||||
* `/ * Failure * /`
|
||||
*/
|
||||
@kotlin.Metadata()
|
||||
public abstract interface TestComponent {
|
||||
|
||||
@@ -0,0 +1,35 @@
|
||||
package javadoc
|
||||
|
||||
/** Simple */
|
||||
class A
|
||||
|
||||
/**
|
||||
* Multi
|
||||
* line
|
||||
* comment.
|
||||
*/
|
||||
class B {
|
||||
/** Nested
|
||||
* member
|
||||
* comment. */
|
||||
val a = ""
|
||||
|
||||
/**
|
||||
* Mixed
|
||||
* tabs/spaces
|
||||
*/
|
||||
val b = ""
|
||||
|
||||
/**
|
||||
* List:
|
||||
* * first item
|
||||
* * second item
|
||||
*/
|
||||
val c = ""
|
||||
|
||||
/**
|
||||
Without
|
||||
stars
|
||||
*/
|
||||
val d = ""
|
||||
}
|
||||
@@ -0,0 +1,83 @@
|
||||
package javadoc;
|
||||
|
||||
import java.lang.System;
|
||||
|
||||
/**
|
||||
* Simple
|
||||
*/
|
||||
@kotlin.Metadata()
|
||||
public final class A {
|
||||
|
||||
public A() {
|
||||
super();
|
||||
}
|
||||
}
|
||||
|
||||
////////////////////
|
||||
|
||||
package javadoc;
|
||||
|
||||
import java.lang.System;
|
||||
|
||||
/**
|
||||
* Multi
|
||||
* line
|
||||
* comment.
|
||||
*/
|
||||
@kotlin.Metadata()
|
||||
public final class B {
|
||||
|
||||
/**
|
||||
* Nested
|
||||
* member
|
||||
* comment.
|
||||
*/
|
||||
@org.jetbrains.annotations.NotNull()
|
||||
private final java.lang.String a = "";
|
||||
|
||||
/**
|
||||
* Mixed
|
||||
* tabs/spaces
|
||||
*/
|
||||
@org.jetbrains.annotations.NotNull()
|
||||
private final java.lang.String b = "";
|
||||
|
||||
/**
|
||||
* List:
|
||||
* * first item
|
||||
* * second item
|
||||
*/
|
||||
@org.jetbrains.annotations.NotNull()
|
||||
private final java.lang.String c = "";
|
||||
|
||||
/**
|
||||
* Without
|
||||
* stars
|
||||
*/
|
||||
@org.jetbrains.annotations.NotNull()
|
||||
private final java.lang.String d = "";
|
||||
|
||||
@org.jetbrains.annotations.NotNull()
|
||||
public final java.lang.String getA() {
|
||||
return null;
|
||||
}
|
||||
|
||||
@org.jetbrains.annotations.NotNull()
|
||||
public final java.lang.String getB() {
|
||||
return null;
|
||||
}
|
||||
|
||||
@org.jetbrains.annotations.NotNull()
|
||||
public final java.lang.String getC() {
|
||||
return null;
|
||||
}
|
||||
|
||||
@org.jetbrains.annotations.NotNull()
|
||||
public final java.lang.String getD() {
|
||||
return null;
|
||||
}
|
||||
|
||||
public B() {
|
||||
super();
|
||||
}
|
||||
}
|
||||
@@ -10,7 +10,7 @@ package test;
|
||||
import java.lang.System;
|
||||
|
||||
/**
|
||||
* * KDoc comment.
|
||||
* KDoc comment.
|
||||
*/
|
||||
@kotlin.Suppress(names = {"UNRESOLVED_REFERENCE"})
|
||||
@kotlin.Metadata()
|
||||
|
||||
Reference in New Issue
Block a user