ReadOnlyProperty

The result of inspekting a val property.

Properties

Link copied to clipboard

All annotations on this element with their source information.

Link copied to clipboard
override val annotations: List<Annotation>

All annotations on this element, including inherited ones.

Link copied to clipboard

Annotations declared directly on this element.

Link copied to clipboard

The property's getter.

Link copied to clipboard

Whether the property has a backing field.

Link copied to clipboard

Whether the property has a delegate.

Link copied to clipboard

If the declaration is inherited from a superclass (not overridden), the superclass it is inherited from.

Link copied to clipboard

Whether the declaration is abstract. If checking whether you can invoke a function, use FunctionLike.isInvokable instead of this.

Link copied to clipboard

Whether the declaration is declared in its owning class. False if it is inherited.

Link copied to clipboard

Whether the declaration is top-level (not a member of a class).

Link copied to clipboard
open override val kotlin: KProperty1<*, *>

A reference to the Kotlin declaration this represents.

Link copied to clipboard
open override val name: CallableName

The fully qualified name of the declaration.

Link copied to clipboard

The parameters of the declaration.

Link copied to clipboard

The property's setter, if it has one.

Link copied to clipboard

The short name of the declaration.

Link copied to clipboard
val type: KType

The type of the property.

Functions

Link copied to clipboard
inline fun <T> AnnotatedElement.annotation(): T?

Get the first annotation of type T, or null if none is found.

Link copied to clipboard

Get all annotations of type T.

Link copied to clipboard

Builds an ArgumentList for a set of parameters. Parameters which are not set will use their default values if they have one. Successfully building an ArgumentList guarantees that values are provided for all parameters without default values.

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
fun get(arguments: ArgumentList): Any?

Gets the value of a property by calling its getter.

fun get(arguments: ArgumentsBuilder): Any?

Get the value of a property by calling its getter.

Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
override fun toString(): String
open override fun toString(includeFullName: Boolean): String