CustomType

open class CustomType(val className: String, val packageName: String, val members: List<TypeMember> = emptyList()) : AbstractType

A user defined class.

Example:

package com.example

class Response(
val foo: Foo
)

is CustomType:

  • name: "Response"

  • package: "com.example"

  • members: []

Inheritors

Constructors

Link copied to clipboard
constructor(className: String, packageName: String, members: List<TypeMember> = emptyList())

Properties

Link copied to clipboard
open override val className: String
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override val packageName: String

Functions

Link copied to clipboard
open fun copy(fields: List<TypeMember>): CustomType
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
open override fun toString(): String
Link copied to clipboard
fun AbstractType?.typeSimplename(asKotlinType: Boolean = true): String