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

TopLevelClass

{% setvar page_path %}dokkatest/sampleAnnotation/TopLevelClass.html{% endsetvar %} {% setvar can_switch %}1{% endsetvar %} {% include "reference/_java_switcher2.md" %}

public final class TopLevelClass


top-level class 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()

}

Summary

Nested types

TopLevelClass.InnerClass

inner class docs

TopLevelClass.InnerInterface

inner interface docs

Public fields

final @Nullable Unit

class non-extension property docs

final @NonNull Pair<@NonNull Float, @NonNull Float>

in-class extension property docs

Public constructors

Public methods

final @Nullable Unit

top-level non-extension property docs

final @NonNull Pair<@NonNull Float, @NonNull Float>

in-class extension function docs

Public fields

classProperty

@Nullable
public final @Nullable Unit classProperty

class 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()

}

inClassExtensionProperty

@NonNull
public final @NonNull Pair<@NonNull Float, @NonNull FloatinClassExtensionProperty

in-class 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()

}

Public constructors

TopLevelClass

@NonNull
public final TopLevelClass()

Public methods

classFunction

@Nullable
public final Unit classFunction()

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()

}

inClassExtensionFunction

@NonNull
public final Pair<@NonNull Float, @NonNull FloatinClassExtensionFunction(@NonNull List<@NonNull String> receiver)

in-class 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()

}