Top Inners Methods
kotlin.reflect.jvm.internal.impl.descriptors

public Interface CallableDescriptor

extends DeclarationDescriptorWithVisibility, DeclarationDescriptorNonRoot, kotlin.reflect.jvm.internal.impl.descriptors.Substitutable<CallableDescriptor>, CallableSymbolMarker
Known Direct Subinterfaces
kotlin.reflect.jvm.internal.impl.descriptors.ValueDescriptor, kotlin.reflect.jvm.internal.impl.descriptors.CallableMemberDescriptor
Imports
kotlin.annotations.jvm.ReadOnly, org.jetbrains.annotations.NotNull, .Nullable, kotlin.reflect.jvm.internal.impl.mpp.CallableSymbolMarker, kotlin.reflect.jvm.internal.impl.types.KotlinType, java.util.Collection, .List

Nested and Inner Type Summary

Modifier and TypeClass and Description
public static interface

Method Summary

Modifier and TypeMethod and Description
public @NotNull List<ReceiverParameterDescriptor>
public @Nullable ReceiverParameterDescriptor
public @Nullable ReceiverParameterDescriptor
public @NotNull CallableDescriptor
public @NotNull Collection<? extends CallableDescriptor>
public @Nullable kotlin.reflect.jvm.internal.impl.types.KotlinType
getReturnType()

Method may return null for not yet fully initialized object or if error occurred.

public @NotNull List<TypeParameterDescriptor>
public <V> V
public @NotNull List<kotlin.reflect.jvm.internal.impl.descriptors.ValueParameterDescriptor>
public boolean
hasStableParameterNames()

Kotlin functions always have stable parameter names that can be reliably used when calling them with named arguments.

public boolean
hasSynthesizedParameterNames()

Sometimes parameter names are not available at all (e.g. Java binaries with not enough debug information).

Inherited from kotlin.reflect.jvm.internal.impl.descriptors.DeclarationDescriptorNonRoot:
getContainingDeclaration
Inherited from kotlin.reflect.jvm.internal.impl.descriptors.DeclarationDescriptorWithVisibility:
getVisibility

Method Detail

getContextReceiverParametersback to summary
public @NotNull List<ReceiverParameterDescriptor> getContextReceiverParameters()
Annotations
@NotNull
@ReadOnly
getDispatchReceiverParameterback to summary
public @Nullable ReceiverParameterDescriptor getDispatchReceiverParameter()
Annotations
@Nullable
getExtensionReceiverParameterback to summary
public @Nullable ReceiverParameterDescriptor getExtensionReceiverParameter()
Annotations
@Nullable
getOriginalback to summary
public @NotNull CallableDescriptor getOriginal()

Redeclares kotlin.reflect.jvm.internal.impl.descriptors.DeclarationDescriptor.getOriginal, kotlin.reflect.jvm.internal.impl.descriptors.DeclarationDescriptorWithSource.getOriginal.

Returns:@NotNull CallableDescriptor

Doc from kotlin.reflect.jvm.internal.impl.descriptors.DeclarationDescriptor.getOriginal.

The descriptor that corresponds to the original declaration of this element. A descriptor can be obtained from its original by substituting type arguments (of the declaring class or of the element itself). returns this object if the current descriptor is original itself

Annotations
@NotNull
@Override
getOverriddenDescriptorsback to summary
public @NotNull Collection<? extends CallableDescriptor> getOverriddenDescriptors()
Annotations
@NotNull
getReturnTypeback to summary
public @Nullable kotlin.reflect.jvm.internal.impl.types.KotlinType getReturnType()

Method may return null for not yet fully initialized object or if error occurred.

Annotations
@Nullable
getTypeParametersback to summary
public @NotNull List<TypeParameterDescriptor> getTypeParameters()
Annotations
@NotNull
@ReadOnly
getUserDataback to summary
public <V> V getUserData(CallableDescriptor.UserDataKey<V> key)
Annotations
@Nullable
getValueParametersback to summary
public @NotNull List<kotlin.reflect.jvm.internal.impl.descriptors.ValueParameterDescriptor> getValueParameters()
Annotations
@NotNull
hasStableParameterNamesback to summary
public boolean hasStableParameterNames()

Kotlin functions always have stable parameter names that can be reliably used when calling them with named arguments. Functions loaded from platform definitions (e.g. Java binaries or JS) may have unstable parameter names that vary from one platform installation to another. These names can not be used reliably for calls with named arguments.

hasSynthesizedParameterNamesback to summary
public boolean hasSynthesizedParameterNames()

Sometimes parameter names are not available at all (e.g. Java binaries with not enough debug information). In this case, getName() returns synthetic names such as "p0", "p1" etc.

kotlin.reflect.jvm.internal.impl.descriptors back to summary

public Interface CallableDescriptor.UserDataKey<V>