Package org.jetbrains.dokka.model

Types

Link copied to clipboard
data class ActualTypealias(val underlyingType: SourceSetDependent<Bound>) : ExtraProperty<DClasslike>
Link copied to clipboard
class AdditionalModifiers(val content: SourceSetDependent<Set<ExtraModifiers>>) : ExtraProperty<Documentable>
Link copied to clipboard
data class AncestryNode(    val typeConstructor: TypeConstructor,     val superclass: AncestryNode?,     val interfaces: List<AncestryNode>)
Link copied to clipboard
sealed class AnnotationParameterValue
Link copied to clipboard
data class Annotations(myContent: SourceSetDependent<List<Annotations.Annotation>>) : ExtraProperty<AnnotationTarget>
Link copied to clipboard
interface AnnotationTarget
Link copied to clipboard
data class AnnotationValue(val annotation: Annotations.Annotation) : AnnotationParameterValue
Link copied to clipboard
data class ArrayValue(val value: List<AnnotationParameterValue>) : AnnotationParameterValue
Link copied to clipboard
data class BooleanConstant(val value: Boolean) : Expression
Link copied to clipboard
data class BooleanValue(val value: Boolean) : LiteralValue
Link copied to clipboard
sealed class Bound : Projection
Link copied to clipboard
Link copied to clipboard
data class CheckedExceptions(val exceptions: SourceSetDependent<List<DRI>>) : ExtraProperty<Documentable> , ExtraProperty.Key<Documentable, ObviousMember>
Link copied to clipboard
interface ClassKind
Link copied to clipboard
data class ClassValue(val className: String, val classDRI: DRI) : AnnotationParameterValue
Link copied to clipboard
data class ComplexExpression(val value: String) : Expression
Link copied to clipboard
data class CompositeSourceSetID(children: Set<DokkaSourceSetID>)
Link copied to clipboard
data class Contravariance<out T : Bound>(val inner: T) : Variance<T>
Link copied to clipboard
data class Covariance<out T : Bound>(val inner: T) : Variance<T>
Link copied to clipboard
data class DAnnotation(    val name: String,     val dri: DRI,     val documentation: SourceSetDependent<DocumentationNode>,     val expectPresentInSet: DokkaConfiguration.DokkaSourceSet?,     val sources: SourceSetDependent<DocumentableSource>,     val functions: List<DFunction>,     val properties: List<DProperty>,     val classlikes: List<DClasslike>,     val visibility: SourceSetDependent<Visibility>,     val companion: DObject?,     val constructors: List<DFunction>,     val generics: List<DTypeParameter>,     val sourceSets: Set<DokkaConfiguration.DokkaSourceSet>,     val isExpectActual: Boolean,     val extra: PropertyContainer<DAnnotation> = PropertyContainer.empty()) : DClasslike, WithCompanion, WithConstructors, WithExtraProperties<DAnnotation> , WithGenerics
Link copied to clipboard
data class DClass(    val dri: DRI,     val name: String,     val constructors: List<DFunction>,     val functions: List<DFunction>,     val properties: List<DProperty>,     val classlikes: List<DClasslike>,     val sources: SourceSetDependent<DocumentableSource>,     val visibility: SourceSetDependent<Visibility>,     val companion: DObject?,     val generics: List<DTypeParameter>,     val supertypes: SourceSetDependent<List<TypeConstructorWithKind>>,     val documentation: SourceSetDependent<DocumentationNode>,     val expectPresentInSet: DokkaConfiguration.DokkaSourceSet?,     val modifier: SourceSetDependent<Modifier>,     val sourceSets: Set<DokkaConfiguration.DokkaSourceSet>,     val isExpectActual: Boolean,     val extra: PropertyContainer<DClass> = PropertyContainer.empty()) : DClasslike, WithAbstraction, WithCompanion, WithConstructors, WithGenerics, WithSupertypes, WithExtraProperties<DClass>
Link copied to clipboard
sealed class DClasslike : Documentable, WithScope, WithVisibility, WithSources, WithIsExpectActual
Link copied to clipboard
class DefaultValue(val expression: SourceSetDependent<Expression>) : ExtraProperty<Documentable>
Link copied to clipboard
data class DefinitelyNonNullable(val inner: Bound) : Bound
Link copied to clipboard
data class DEnum(    val dri: DRI,     val name: String,     val entries: List<DEnumEntry>,     val documentation: SourceSetDependent<DocumentationNode>,     val expectPresentInSet: DokkaConfiguration.DokkaSourceSet?,     val sources: SourceSetDependent<DocumentableSource>,     val functions: List<DFunction>,     val properties: List<DProperty>,     val classlikes: List<DClasslike>,     val visibility: SourceSetDependent<Visibility>,     val companion: DObject?,     val constructors: List<DFunction>,     val supertypes: SourceSetDependent<List<TypeConstructorWithKind>>,     val sourceSets: Set<DokkaConfiguration.DokkaSourceSet>,     val isExpectActual: Boolean,     val extra: PropertyContainer<DEnum> = PropertyContainer.empty()) : DClasslike, WithCompanion, WithConstructors, WithSupertypes, WithExtraProperties<DEnum>
Link copied to clipboard
data class DEnumEntry(    val dri: DRI,     val name: String,     val documentation: SourceSetDependent<DocumentationNode>,     val expectPresentInSet: DokkaConfiguration.DokkaSourceSet?,     val functions: List<DFunction>,     val properties: List<DProperty>,     val classlikes: List<DClasslike>,     val sourceSets: Set<DokkaConfiguration.DokkaSourceSet>,     val extra: PropertyContainer<DEnumEntry> = PropertyContainer.empty()) : Documentable, WithScope, WithExtraProperties<DEnumEntry>
Link copied to clipboard
data class DFunction(    val dri: DRI,     val name: String,     val isConstructor: Boolean,     val parameters: List<DParameter>,     val documentation: SourceSetDependent<DocumentationNode>,     val expectPresentInSet: DokkaConfiguration.DokkaSourceSet?,     val sources: SourceSetDependent<DocumentableSource>,     val visibility: SourceSetDependent<Visibility>,     val type: Bound,     val generics: List<DTypeParameter>,     val receiver: DParameter?,     val modifier: SourceSetDependent<Modifier>,     val sourceSets: Set<DokkaConfiguration.DokkaSourceSet>,     val isExpectActual: Boolean,     val extra: PropertyContainer<DFunction> = PropertyContainer.empty()) : Documentable, Callable, WithGenerics, WithExtraProperties<DFunction>
Link copied to clipboard
data class DInterface(    val dri: DRI,     val name: String,     val documentation: SourceSetDependent<DocumentationNode>,     val expectPresentInSet: DokkaConfiguration.DokkaSourceSet?,     val sources: SourceSetDependent<DocumentableSource>,     val functions: List<DFunction>,     val properties: List<DProperty>,     val classlikes: List<DClasslike>,     val visibility: SourceSetDependent<Visibility>,     val companion: DObject?,     val generics: List<DTypeParameter>,     val supertypes: SourceSetDependent<List<TypeConstructorWithKind>>,     val sourceSets: Set<DokkaConfiguration.DokkaSourceSet>,     val isExpectActual: Boolean,     val extra: PropertyContainer<DInterface> = PropertyContainer.empty()) : DClasslike, WithCompanion, WithGenerics, WithSupertypes, WithExtraProperties<DInterface>
Link copied to clipboard
data class DisplaySourceSet(    val sourceSetIDs: CompositeSourceSetID,     val name: String,     val platform: Platform) : SelfRepresentingSingletonSet<DisplaySourceSet>
Link copied to clipboard
data class DModule(    val name: String,     val packages: List<DPackage>,     val documentation: SourceSetDependent<DocumentationNode>,     val expectPresentInSet: DokkaConfiguration.DokkaSourceSet? = null,     val sourceSets: Set<DokkaConfiguration.DokkaSourceSet>,     val extra: PropertyContainer<DModule> = PropertyContainer.empty()) : Documentable, WithExtraProperties<DModule>
Link copied to clipboard
data class DObject(    val name: String?,     val dri: DRI,     val documentation: SourceSetDependent<DocumentationNode>,     val expectPresentInSet: DokkaConfiguration.DokkaSourceSet?,     val sources: SourceSetDependent<DocumentableSource>,     val functions: List<DFunction>,     val properties: List<DProperty>,     val classlikes: List<DClasslike>,     val visibility: SourceSetDependent<Visibility>,     val supertypes: SourceSetDependent<List<TypeConstructorWithKind>>,     val sourceSets: Set<DokkaConfiguration.DokkaSourceSet>,     val isExpectActual: Boolean,     val extra: PropertyContainer<DObject> = PropertyContainer.empty()) : DClasslike, WithSupertypes, WithExtraProperties<DObject>
Link copied to clipboard
abstract class Documentable : WithChildren<Documentable> , AnnotationTarget
Link copied to clipboard
interface DocumentableSource
Link copied to clipboard
data class DoubleConstant(val value: Double) : Expression
Link copied to clipboard
data class DoubleValue(val value: Double) : LiteralValue
Link copied to clipboard
data class DPackage(    val dri: DRI,     val functions: List<DFunction>,     val properties: List<DProperty>,     val classlikes: List<DClasslike>,     val typealiases: List<DTypeAlias>,     val documentation: SourceSetDependent<DocumentationNode>,     val expectPresentInSet: DokkaConfiguration.DokkaSourceSet? = null,     val sourceSets: Set<DokkaConfiguration.DokkaSourceSet>,     val extra: PropertyContainer<DPackage> = PropertyContainer.empty()) : Documentable, WithScope, WithExtraProperties<DPackage>
Link copied to clipboard
data class DParameter(    val dri: DRI,     val name: String?,     val documentation: SourceSetDependent<DocumentationNode>,     val expectPresentInSet: DokkaConfiguration.DokkaSourceSet?,     val type: Bound,     val sourceSets: Set<DokkaConfiguration.DokkaSourceSet>,     val extra: PropertyContainer<DParameter> = PropertyContainer.empty()) : Documentable, WithExtraProperties<DParameter> , WithType
Link copied to clipboard
data class DProperty(    val dri: DRI,     val name: String,     val documentation: SourceSetDependent<DocumentationNode>,     val expectPresentInSet: DokkaConfiguration.DokkaSourceSet?,     val sources: SourceSetDependent<DocumentableSource>,     val visibility: SourceSetDependent<Visibility>,     val type: Bound,     val receiver: DParameter?,     val setter: DFunction?,     val getter: DFunction?,     val modifier: SourceSetDependent<Modifier>,     val sourceSets: Set<DokkaConfiguration.DokkaSourceSet>,     val generics: List<DTypeParameter>,     val isExpectActual: Boolean,     val extra: PropertyContainer<DProperty> = PropertyContainer.empty()) : Documentable, Callable, WithExtraProperties<DProperty> , WithGenerics
Link copied to clipboard
data class DTypeAlias(    val dri: DRI,     val name: String,     val type: Bound,     val underlyingType: SourceSetDependent<Bound>,     val visibility: SourceSetDependent<Visibility>,     val documentation: SourceSetDependent<DocumentationNode>,     val expectPresentInSet: DokkaConfiguration.DokkaSourceSet?,     val sourceSets: Set<DokkaConfiguration.DokkaSourceSet>,     val generics: List<DTypeParameter>,     val extra: PropertyContainer<DTypeAlias> = PropertyContainer.empty()) : Documentable, WithType, WithVisibility, WithExtraProperties<DTypeAlias> , WithGenerics
Link copied to clipboard
data class DTypeParameter(    val variantTypeParameter: Variance<TypeParameter>,     val documentation: SourceSetDependent<DocumentationNode>,     val expectPresentInSet: DokkaConfiguration.DokkaSourceSet?,     val bounds: List<Bound>,     val sourceSets: Set<DokkaConfiguration.DokkaSourceSet>,     val extra: PropertyContainer<DTypeParameter> = PropertyContainer.empty()) : Documentable, WithExtraProperties<DTypeParameter>
Link copied to clipboard
object Dynamic : Bound
Link copied to clipboard
data class EnumValue(val enumName: String, val enumDri: DRI) : AnnotationParameterValue
Link copied to clipboard
data class ExceptionInSupertypes(val exceptions: SourceSetDependent<List<TypeConstructor>>) : ExtraProperty<Documentable>
Link copied to clipboard
interface Expression
Link copied to clipboard
sealed class ExtraModifiers
Link copied to clipboard
data class FloatConstant(val value: Float) : Expression
Link copied to clipboard
data class FloatValue(val value: Float) : LiteralValue
Link copied to clipboard
data class FunctionalTypeConstructor(    val dri: DRI,     val projections: List<Projection>,     val isExtensionFunction: Boolean = false,     val isSuspendable: Boolean = false,     val presentableName: String? = null,     val extra: PropertyContainer<FunctionalTypeConstructor> = PropertyContainer.empty()) : TypeConstructor, WithExtraProperties<FunctionalTypeConstructor>
Link copied to clipboard
data class GenericTypeConstructor(    val dri: DRI,     val projections: List<Projection>,     val presentableName: String? = null,     val extra: PropertyContainer<GenericTypeConstructor> = PropertyContainer.empty()) : TypeConstructor, WithExtraProperties<GenericTypeConstructor>
Link copied to clipboard
data class ImplementedInterfaces(val interfaces: SourceSetDependent<List<TypeConstructor>>) : ExtraProperty<Documentable>
Link copied to clipboard
data class InheritedMember(val inheritedFrom: SourceSetDependent<DRI?>) : ExtraProperty<Documentable>
Link copied to clipboard
data class IntegerConstant(val value: Long) : Expression
Link copied to clipboard
data class IntValue(val value: Int) : LiteralValue
Link copied to clipboard
data class Invariance<out T : Bound>(val inner: T) : Variance<T>
Link copied to clipboard
object IsVar : ExtraProperty<DProperty> , ExtraProperty.Key<DProperty, IsVar>

Whether this DProperty is var or val, should be present both in Kotlin and in Java properties

Link copied to clipboard
enum JavaClassKindTypes : Enum<JavaClassKindTypes> , ClassKind
Link copied to clipboard
sealed class JavaModifier : Modifier
Link copied to clipboard
data class JavaObject(val extra: PropertyContainer<JavaObject> = PropertyContainer.empty()) : Bound, AnnotationTarget, WithExtraProperties<JavaObject>
Link copied to clipboard
sealed class JavaVisibility : Visibility
Link copied to clipboard
enum KotlinClassKindTypes : Enum<KotlinClassKindTypes> , ClassKind
Link copied to clipboard
sealed class KotlinModifier : Modifier
Link copied to clipboard
sealed class KotlinVisibility : Visibility
Link copied to clipboard
abstract class LiteralValue : AnnotationParameterValue
Link copied to clipboard
data class LongValue(val value: Long) : LiteralValue
Link copied to clipboard
sealed class Modifier
Link copied to clipboard
data class Nullable(val inner: Bound) : Bound
Link copied to clipboard
object NullValue : LiteralValue
Link copied to clipboard
Link copied to clipboard
data class PrimitiveJavaType(val name: String, val extra: PropertyContainer<PrimitiveJavaType> = PropertyContainer.empty()) : Bound, AnnotationTarget, WithExtraProperties<PrimitiveJavaType>
Link copied to clipboard
sealed class Projection
Link copied to clipboard
typealias SourceSetDependent<T> = Map<DokkaConfiguration.DokkaSourceSet, T>
Link copied to clipboard
object Star : Projection
Link copied to clipboard
data class StringConstant(val value: String) : Expression
Link copied to clipboard
data class StringValue(val value: String) : LiteralValue
Link copied to clipboard
data class TypeAliased(    val typeAlias: Bound,     val inner: Bound,     val extra: PropertyContainer<TypeAliased> = PropertyContainer.empty()) : Bound, AnnotationTarget, WithExtraProperties<TypeAliased>
Link copied to clipboard
sealed class TypeConstructor : Bound, AnnotationTarget
Link copied to clipboard
data class TypeConstructorWithKind(val typeConstructor: TypeConstructor, val kind: ClassKind)
Link copied to clipboard
data class TypeParameter(    val dri: DRI,     val name: String,     val presentableName: String? = null,     val extra: PropertyContainer<TypeParameter> = PropertyContainer.empty()) : Bound, AnnotationTarget, WithExtraProperties<TypeParameter>
Link copied to clipboard
data class UnresolvedBound(val name: String, val extra: PropertyContainer<UnresolvedBound> = PropertyContainer.empty()) : Bound, AnnotationTarget, WithExtraProperties<UnresolvedBound>
Link copied to clipboard
sealed class Variance<out T : Bound> : Projection
Link copied to clipboard
sealed class Visibility
Link copied to clipboard
object Void : Bound
Link copied to clipboard
interface WithAbstraction
Link copied to clipboard
interface WithChildren<out T>
Link copied to clipboard
interface WithCompanion
Link copied to clipboard
interface WithConstructors
Link copied to clipboard
interface WithGenerics
Link copied to clipboard
interface WithIsExpectActual
Link copied to clipboard
interface WithScope
Link copied to clipboard
interface WithSources
Link copied to clipboard
interface WithSupertypes
Link copied to clipboard
interface WithType
Link copied to clipboard
interface WithVisibility

Functions

Link copied to clipboard
fun <T : WithChildren<T>> T.asPrintableTree(nodeNameBuilder: Appendable.(T) -> Unit = { append(it.toString()) }): String
Link copied to clipboard
inline fun <T> WithChildren<*>.childrenOfType(): List<T>
Link copied to clipboard
fun <T : WithChildren<T>> T.dfs(predicate: (T) -> Boolean): T?
fun Documentable.dfs(predicate: (Documentable) -> Boolean): Documentable?
Link copied to clipboard
fun DTypeParameter.filter(filteredSet: Set<DokkaConfiguration.DokkaSourceSet>): DTypeParameter?
Link copied to clipboard
inline fun <T> WithChildren<*>.firstChildOfType(): T
inline fun <T> WithChildren<*>.firstChildOfType(predicate: (T) -> Boolean): T
Link copied to clipboard
inline fun <T> WithChildren<*>.firstChildOfTypeOrNull(): T?
inline fun <T> WithChildren<*>.firstChildOfTypeOrNull(predicate: (T) -> Boolean): T?
Link copied to clipboard
inline fun <T : WithChildren<*>> WithChildren<WithChildren<*>>.firstMemberOfType(): T
inline fun <T : WithChildren<*>> WithChildren<WithChildren<*>>.firstMemberOfType(predicate: (T) -> Boolean): T
Link copied to clipboard
inline fun <T : WithChildren<*>> WithChildren<WithChildren<*>>.firstMemberOfTypeOrNull(): T?
Link copied to clipboard
fun DRI.isJvmField(): Boolean
fun Annotations.Annotation.isJvmField(): Boolean
Link copied to clipboard
fun DRI.isJvmName(): Boolean
fun Annotations.Annotation.isJvmName(): Boolean
Link copied to clipboard
fun <T> SourceSetDependent<T>?.orEmpty(): SourceSetDependent<T>
Link copied to clipboard
operator fun DokkaSourceSetID.plus(other: DokkaSourceSetID): CompositeSourceSetID
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun <T : WithChildren<T>> T.withDescendants(): Sequence<T>
@JvmName(name = "withDescendantsProjection")
fun WithChildren<*>.withDescendants(): Sequence<Any?>
@JvmName(name = "withDescendantsAny")
fun WithChildren<Any>.withDescendants(): Sequence<Any>
Link copied to clipboard
fun Variance<TypeParameter>.withDri(dri: DRI): Variance<TypeParameter>

Properties

Link copied to clipboard
const val JVM_FIELD_CLASS_NAMES: String
Link copied to clipboard
const val JVM_FIELD_PACKAGE_NAME: String
Link copied to clipboard
val Iterable<DisplaySourceSet>.sourceSetIDs: List<DokkaSourceSetID>