{% setvar book_path %}/reference/kotlin/dokkatest/_book.yaml{% endsetvar %} {% include "_shared/_reference-head-tags.html" %}

dokkatest.sampleAnnotation

{% setvar page_path %}dokkatest/sampleAnnotation/package-summary.html{% endsetvar %} {% setvar can_switch %}1{% endsetvar %} {% include "reference/_kotlin_switcher2.md" %}

Interfaces

TopLevelClass.InnerInterface

inner interface docs

topLevelInterface

inner class docs

Classes

TopLevelClass

top-level class docs

TopLevelClass.InnerClass

inner class docs

Top-level properties summary

Unit?

top-level non-extension property docs

Top-level functions summary

Unit?

top-level non-extension function docs

Extension properties summary

Pair<FloatFloat>

top-level extension property docs

Extension functions summary

Pair<FloatFloat>

top-level extension function docs

Top-level properties

topLevelProperty

val topLevelPropertyUnit?

top-level non-extension property docs

import androidx.notARealLibrary.Thingy1

class CustomPainter() {

    val size: Pair<Float, Float>
        get() = Pair(300.0f, 300.0f)

    override fun toString(): String {
        return "ahahahaha"
    }

    val weAreUsingThingy1 = Thingy1()

}

Top-level functions

topLevelFunction

fun topLevelFunction(): Unit?

top-level non-extension function docs

import androidx.notARealLibrary.Thingy1

class CustomPainter() {

    val size: Pair<Float, Float>
        get() = Pair(300.0f, 300.0f)

    override fun toString(): String {
        return "ahahahaha"
    }

    val weAreUsingThingy1 = Thingy1()

}

Extension properties

topLevelExtensionProperty

val List<String>.topLevelExtensionPropertyPair<FloatFloat>

top-level extension property docs

import androidx.notARealLibrary.Thingy1

class CustomPainter() {

    val size: Pair<Float, Float>
        get() = Pair(300.0f, 300.0f)

    override fun toString(): String {
        return "ahahahaha"
    }

    val weAreUsingThingy1 = Thingy1()

}

and after some text, we have another sample

import androidx.anotherFakeLibrary.FooFooFoo

val weAreUsingFooFooFoo by lazy { FooFooFoo() }

Extension functions

topLevelExtensionFunction

fun List<String>.topLevelExtensionFunction(): Pair<FloatFloat>

top-level extension function docs

import androidx.notARealLibrary.Thingy1

class CustomPainter() {

    val size: Pair<Float, Float>
        get() = Pair(300.0f, 300.0f)

    override fun toString(): String {
        return "ahahahaha"
    }

    val weAreUsingThingy1 = Thingy1()

}