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

public Class TransientReceiver

extends AbstractReceiverValue
Class Inheritance
Imports
org.jetbrains.annotations.NotNull, .Nullable, kotlin.reflect.jvm.internal.impl.types.KotlinType

This represents the receiver of hasNext and next() in for-loops Cannot be an expression receiver because there is no expression for the iterator() call

Field Summary

Inherited from kotlin.reflect.jvm.internal.impl.resolve.scopes.receivers.AbstractReceiverValue:
receiverType

Constructor Summary

AccessConstructor and Description
public
TransientReceiver(@NotNull kotlin.reflect.jvm.internal.impl.types.KotlinType type)

private
TransientReceiver(@NotNull kotlin.reflect.jvm.internal.impl.types.KotlinType type, @Nullable ReceiverValue original)

Method Summary

Modifier and TypeMethod and Description
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

Constructor Detail

TransientReceiverback to summary
public TransientReceiver(@NotNull kotlin.reflect.jvm.internal.impl.types.KotlinType type)
TransientReceiverback to summary
private TransientReceiver(@NotNull kotlin.reflect.jvm.internal.impl.types.KotlinType type, @Nullable ReceiverValue original)

Method Detail

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