add references to kdoc; support resolve and rename
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
/**
|
||||
* This is the same as [<caret>bar]
|
||||
*/
|
||||
fun foo() {}
|
||||
|
||||
fun bar() {}
|
||||
|
||||
// REF: (in <root>).bar()
|
||||
@@ -0,0 +1,10 @@
|
||||
import java.util.Properties
|
||||
|
||||
/**
|
||||
* This is almost like [Propert<caret>ies]
|
||||
*/
|
||||
class C {
|
||||
|
||||
}
|
||||
|
||||
// REF: (java.util).Properties
|
||||
@@ -0,0 +1,6 @@
|
||||
/**
|
||||
* @param <caret>s this is a string
|
||||
*/
|
||||
fun f(s: String) { }
|
||||
|
||||
// REF: s
|
||||
@@ -0,0 +1,6 @@
|
||||
/**
|
||||
* The type [<caret>T] is the type on which the foo property is defined.
|
||||
*/
|
||||
val <T> T.foo: Int get() = 0
|
||||
|
||||
// REF: T
|
||||
@@ -0,0 +1,10 @@
|
||||
/**
|
||||
* This is the same as [C.<caret>bar]
|
||||
*/
|
||||
fun foo() {}
|
||||
|
||||
class C {
|
||||
fun bar() {}
|
||||
}
|
||||
|
||||
// REF: (in C).bar()
|
||||
@@ -0,0 +1,6 @@
|
||||
/**
|
||||
* @param <caret>T this is the type
|
||||
*/
|
||||
class Foo<T> {}
|
||||
|
||||
// REF: T
|
||||
Reference in New Issue
Block a user