Files
Pavel Mikhailovskii 2002542ad2 Stub generation infrastructure (except for metadata generation) for KAPT+K2
This commit includes the basic Java stubs generation infrastructure and
the corresponding tests. The main entry point is called
Kapt4StubGenerator. Calls to it from production code will be added in a
separate commit.

 #KT-51982
2023-08-09 01:17:21 +00:00

64 lines
829 B
Kotlin
Vendored

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 = ""
/**
* A mutable property
*/
var e = ""
/**
* A property without a backing field
*/
var f: String
get() = ""
set(value) {}
/**
* A property with a backing field and an explicit setter
*/
var g: String
set(value) {}
/**
* A property with documentation for an accessor
*/
var h: String
/**
* It's a getter
*/
get() = ""
set(value) {}
}