Top Description Fields Constructors Methods
kotlin.reflect.jvm.internal.impl.resolve.scopes.receivers

public Class ExtensionReceiver

extends AbstractReceiverValue
implements kotlin.reflect.jvm.internal.impl.resolve.scopes.receivers.ImplicitReceiver
Class Inheritance
Imports
org.jetbrains.annotations.NotNull, .Nullable, kotlin.reflect.jvm.internal.impl.descriptors.CallableDescriptor, kotlin.reflect.jvm.internal.impl.types.KotlinType, kotlin.reflect.jvm.internal.impl.types.checker.NewKotlinTypeChecker

[ExtensionReceiver] is a receiver for pure `this` call inside lambda with receiver x.run { this // ExtensionReceiver this as String // ExtensionReceiver this.toString() // ImplicitClassReceiver toString() // ImplicitClassReceiver }

Field Summary

Modifier and TypeField and Description
private final CallableDescriptor
Inherited from kotlin.reflect.jvm.internal.impl.resolve.scopes.receivers.AbstractReceiverValue:
receiverType

Constructor Summary

AccessConstructor and Description
public
ExtensionReceiver(@NotNull CallableDescriptor callableDescriptor, @NotNull kotlin.reflect.jvm.internal.impl.types.KotlinType receiverType, @Nullable ReceiverValue original)

Method Summary

Modifier and TypeMethod and Description
public @NotNull CallableDescriptor
public @NotNull ReceiverValue
replaceType(@NotNull kotlin.reflect.jvm.internal.impl.types.KotlinType newType)

public String
toString()

Overrides java.lang.Object.toString.

Returns a string representation of the object.
Inherited from kotlin.reflect.jvm.internal.impl.resolve.scopes.receivers.AbstractReceiverValue:
getOriginalgetType

Field Detail

descriptorback to summary
private final CallableDescriptor descriptor

Constructor Detail

ExtensionReceiverback to summary
public ExtensionReceiver(@NotNull CallableDescriptor callableDescriptor, @NotNull kotlin.reflect.jvm.internal.impl.types.KotlinType receiverType, @Nullable ReceiverValue original)

Method Detail

getDeclarationDescriptorback to summary
public @NotNull CallableDescriptor getDeclarationDescriptor()
Annotations
@NotNull
@Override
replaceTypeback to summary
public @NotNull ReceiverValue replaceType(@NotNull kotlin.reflect.jvm.internal.impl.types.KotlinType newType)
Annotations
@NotNull
@Override
toStringback to summary
public String toString()

Overrides java.lang.Object.toString.

Doc from java.lang.Object.toString.

Returns a string representation of the object.

Returns:String

a string representation of the object.

Annotations
@Override