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

public Interface FunctionDescriptor

extends CallableMemberDescriptor, FunctionSymbolMarker
Known Direct Subinterfaces
kotlin.reflect.jvm.internal.impl.descriptors.ConstructorDescriptor, kotlin.reflect.jvm.internal.impl.descriptors.SimpleFunctionDescriptor
Known Direct Implementers
kotlin.reflect.jvm.internal.impl.descriptors.impl.FunctionDescriptorImpl
Imports
org.jetbrains.annotations.NotNull, .Nullable, kotlin.reflect.jvm.internal.impl.descriptors.annotations.Annotations, kotlin.reflect.jvm.internal.impl.mpp.FunctionSymbolMarker, kotlin.reflect.jvm.internal.impl.name.Name, kotlin.reflect.jvm.internal.impl.types.KotlinType, kotlin.reflect.jvm.internal.impl.types.TypeSubstitution, kotlin.reflect.jvm.internal.impl.types.TypeSubstitutor, 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 FunctionDescriptor
copy(DeclarationDescriptor newOwner, kotlin.reflect.jvm.internal.impl.descriptors.Modality modality, kotlin.reflect.jvm.internal.impl.descriptors.DescriptorVisibility visibility, CallableMemberDescriptor.Kind kind, boolean copyOverrides)

Redeclares kotlin.reflect.jvm.internal.impl.descriptors.CallableMemberDescriptor.copy.

public @NotNull DeclarationDescriptor
public @Nullable FunctionDescriptor

Returns:

descriptor that represents initial signature, e.g in case of result SimpleFunctionDescriptor.createRenamedCopy it returns descriptor before rename
getInitialSignatureDescriptor
()

public @NotNull FunctionDescriptor
public @NotNull Collection<? extends FunctionDescriptor>
getOverriddenDescriptors()

Redeclares kotlin.reflect.jvm.internal.impl.descriptors.CallableMemberDescriptor.getOverriddenDescriptors.

This method should be used with a great care, because if descriptor is substituted one, calling 'getOverriddenDescriptors' may force lazy computation, that's unnecessary in most cases.
public boolean
public boolean

Returns:

true if descriptor signature clashed with some other signature and it's supposed to be legal See java.nio.CharBuffer
isHiddenToOvercomeSignatureClash
()

public boolean
public boolean
public boolean
public boolean
public boolean
public @NotNull FunctionDescriptor.CopyBuilder<? extends FunctionDescriptor>
public @Nullable FunctionDescriptor
Inherited from kotlin.reflect.jvm.internal.impl.descriptors.CallableMemberDescriptor:
getKindsetOverriddenDescriptors

Method Detail

copyback to summary
public @NotNull FunctionDescriptor copy(DeclarationDescriptor newOwner, kotlin.reflect.jvm.internal.impl.descriptors.Modality modality, kotlin.reflect.jvm.internal.impl.descriptors.DescriptorVisibility visibility, CallableMemberDescriptor.Kind kind, boolean copyOverrides)

Redeclares kotlin.reflect.jvm.internal.impl.descriptors.CallableMemberDescriptor.copy.

Annotations
@NotNull
@Override
getContainingDeclarationback to summary
public @NotNull DeclarationDescriptor getContainingDeclaration()

Redeclares kotlin.reflect.jvm.internal.impl.descriptors.DeclarationDescriptor.getContainingDeclaration, kotlin.reflect.jvm.internal.impl.descriptors.DeclarationDescriptorNonRoot.getContainingDeclaration.

Annotations
@Override
@NotNull
getInitialSignatureDescriptorback to summary
public @Nullable FunctionDescriptor getInitialSignatureDescriptor()
Returns:@Nullable FunctionDescriptor

descriptor that represents initial signature, e.g in case of result SimpleFunctionDescriptor.createRenamedCopy it returns descriptor before rename

Annotations
@Nullable
getOriginalback to summary
public @NotNull FunctionDescriptor getOriginal()

Redeclares kotlin.reflect.jvm.internal.impl.descriptors.CallableMemberDescriptor.getOriginal.

Returns:@NotNull FunctionDescriptor

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 FunctionDescriptor> getOverriddenDescriptors()

Redeclares kotlin.reflect.jvm.internal.impl.descriptors.CallableMemberDescriptor.getOverriddenDescriptors.

This method should be used with a great care, because if descriptor is substituted one, calling 'getOverriddenDescriptors' may force lazy computation, that's unnecessary in most cases. So, if 'getOriginal().getOverriddenDescriptors()' is enough for you, please use it instead.

Annotations
@Override
@NotNull
isHiddenForResolutionEverywhereBesideSupercallsback to summary
public boolean isHiddenForResolutionEverywhereBesideSupercalls()
isHiddenToOvercomeSignatureClashback to summary
public boolean isHiddenToOvercomeSignatureClash()
Returns:boolean

true if descriptor signature clashed with some other signature and it's supposed to be legal See java.nio.CharBuffer

isInfixback to summary
public boolean isInfix()
isInlineback to summary
public boolean isInline()
isOperatorback to summary
public boolean isOperator()
isSuspendback to summary
public boolean isSuspend()
isTailrecback to summary
public boolean isTailrec()
newCopyBuilderback to summary
public @NotNull FunctionDescriptor.CopyBuilder<? extends FunctionDescriptor> newCopyBuilder()

Redeclares kotlin.reflect.jvm.internal.impl.descriptors.CallableMemberDescriptor.newCopyBuilder.

Annotations
@NotNull
@Override
substituteback to summary
public @Nullable FunctionDescriptor substitute(@NotNull TypeSubstitutor substitutor)
Annotations
@Nullable
@Override
kotlin.reflect.jvm.internal.impl.descriptors back to summary

public Interface FunctionDescriptor.CopyBuilder<D extends kotlin.reflect.jvm.internal.impl.descriptors.FunctionDescriptor>

extends CallableMemberDescriptor.CopyBuilder<D extends FunctionDescriptor>
Known Direct Implementers
kotlin.reflect.jvm.internal.impl.descriptors.impl.FunctionDescriptorImpl.CopyConfiguration

Method Summary

Modifier and TypeMethod and Description
public D
public <V> @NotNull FunctionDescriptor.CopyBuilder<D>
public @NotNull FunctionDescriptor.CopyBuilder<D>
setAdditionalAnnotations(@NotNull kotlin.reflect.jvm.internal.impl.descriptors.annotations.Annotations additionalAnnotations)

public @NotNull FunctionDescriptor.CopyBuilder<D>
public @NotNull FunctionDescriptor.CopyBuilder<D>
public @NotNull FunctionDescriptor.CopyBuilder<D>
public @NotNull FunctionDescriptor.CopyBuilder<D>
public @NotNull FunctionDescriptor.CopyBuilder<D>
public @NotNull FunctionDescriptor.CopyBuilder<D>
public @NotNull FunctionDescriptor.CopyBuilder<D>
public @NotNull FunctionDescriptor.CopyBuilder<D>
public @NotNull FunctionDescriptor.CopyBuilder<D>
setModality(@NotNull kotlin.reflect.jvm.internal.impl.descriptors.Modality modality)

public @NotNull FunctionDescriptor.CopyBuilder<D>
setName(@NotNull kotlin.reflect.jvm.internal.impl.name.Name name)

public @NotNull FunctionDescriptor.CopyBuilder<D>
public @NotNull FunctionDescriptor.CopyBuilder<D>
public @NotNull FunctionDescriptor.CopyBuilder<D>
public @NotNull FunctionDescriptor.CopyBuilder<D>
setReturnType(@NotNull kotlin.reflect.jvm.internal.impl.types.KotlinType type)

public @NotNull FunctionDescriptor.CopyBuilder<D>
public @NotNull FunctionDescriptor.CopyBuilder<D>
setSubstitution(@NotNull kotlin.reflect.jvm.internal.impl.types.TypeSubstitution substitution)

public @NotNull FunctionDescriptor.CopyBuilder<D>
public @NotNull FunctionDescriptor.CopyBuilder<D>
setValueParameters(@NotNull List<kotlin.reflect.jvm.internal.impl.descriptors.ValueParameterDescriptor> parameters)

public @NotNull FunctionDescriptor.CopyBuilder<D>
setVisibility(@NotNull kotlin.reflect.jvm.internal.impl.descriptors.DescriptorVisibility visibility)

Inherited from kotlin.reflect.jvm.internal.impl.descriptors.CallableMemberDescriptor.CopyBuilder:
setDispatchReceiverParametersetKindsetModalitysetNamesetOriginalsetOwnersetReturnTypesetSubstitutionsetTypeParameterssetVisibility

Method Detail

buildback to summary
public D build()

Redeclares kotlin.reflect.jvm.internal.impl.descriptors.CallableMemberDescriptor.CopyBuilder.build.

Annotations
@Nullable
@Override
putUserDataback to summary
public <V> @NotNull FunctionDescriptor.CopyBuilder<D> putUserData(@NotNull CallableDescriptor.UserDataKey<V> userDataKey, V value)
Annotations
@NotNull
setAdditionalAnnotationsback to summary
public @NotNull FunctionDescriptor.CopyBuilder<D> setAdditionalAnnotations(@NotNull kotlin.reflect.jvm.internal.impl.descriptors.annotations.Annotations additionalAnnotations)
Annotations
@NotNull
setContextReceiverParametersback to summary
public @NotNull FunctionDescriptor.CopyBuilder<D> setContextReceiverParameters(@NotNull List<ReceiverParameterDescriptor> contextReceiverParameters)
Annotations
@NotNull
setCopyOverridesback to summary
public @NotNull FunctionDescriptor.CopyBuilder<D> setCopyOverrides(boolean copyOverrides)

Redeclares kotlin.reflect.jvm.internal.impl.descriptors.CallableMemberDescriptor.CopyBuilder.setCopyOverrides.

Annotations
@NotNull
@Override
setDispatchReceiverParameterback to summary
public @NotNull FunctionDescriptor.CopyBuilder<D> setDispatchReceiverParameter(@Nullable ReceiverParameterDescriptor dispatchReceiverParameter)
Annotations
@NotNull
@Override
setDropOriginalInContainingPartsback to summary
public @NotNull FunctionDescriptor.CopyBuilder<D> setDropOriginalInContainingParts()
Annotations
@NotNull
setExtensionReceiverParameterback to summary
public @NotNull FunctionDescriptor.CopyBuilder<D> setExtensionReceiverParameter(@Nullable ReceiverParameterDescriptor extensionReceiverParameter)
Annotations
@NotNull
setHiddenForResolutionEverywhereBesideSupercallsback to summary
public @NotNull FunctionDescriptor.CopyBuilder<D> setHiddenForResolutionEverywhereBesideSupercalls()
Annotations
@NotNull
setHiddenToOvercomeSignatureClashback to summary
public @NotNull FunctionDescriptor.CopyBuilder<D> setHiddenToOvercomeSignatureClash()
Annotations
@NotNull
setKindback to summary
public @NotNull FunctionDescriptor.CopyBuilder<D> setKind(@NotNull CallableMemberDescriptor.Kind kind)
Annotations
@NotNull
@Override
setModalityback to summary
public @NotNull FunctionDescriptor.CopyBuilder<D> setModality(@NotNull kotlin.reflect.jvm.internal.impl.descriptors.Modality modality)
Annotations
@NotNull
@Override
setNameback to summary
public @NotNull FunctionDescriptor.CopyBuilder<D> setName(@NotNull kotlin.reflect.jvm.internal.impl.name.Name name)
Annotations
@Override
@NotNull
setOriginalback to summary
public @NotNull FunctionDescriptor.CopyBuilder<D> setOriginal(@Nullable CallableMemberDescriptor original)
Annotations
@NotNull
@Override
setOwnerback to summary
public @NotNull FunctionDescriptor.CopyBuilder<D> setOwner(@NotNull DeclarationDescriptor owner)
Annotations
@NotNull
@Override
setPreserveSourceElementback to summary
public @NotNull FunctionDescriptor.CopyBuilder<D> setPreserveSourceElement()

Redeclares kotlin.reflect.jvm.internal.impl.descriptors.CallableMemberDescriptor.CopyBuilder.setPreserveSourceElement.

Annotations
@NotNull
@Override
setReturnTypeback to summary
public @NotNull FunctionDescriptor.CopyBuilder<D> setReturnType(@NotNull kotlin.reflect.jvm.internal.impl.types.KotlinType type)
Annotations
@NotNull
@Override
setSignatureChangeback to summary
public @NotNull FunctionDescriptor.CopyBuilder<D> setSignatureChange()
Annotations
@NotNull
setSubstitutionback to summary
public @NotNull FunctionDescriptor.CopyBuilder<D> setSubstitution(@NotNull kotlin.reflect.jvm.internal.impl.types.TypeSubstitution substitution)
Annotations
@NotNull
@Override
setTypeParametersback to summary
public @NotNull FunctionDescriptor.CopyBuilder<D> setTypeParameters(@NotNull List<TypeParameterDescriptor> parameters)
Annotations
@NotNull
@Override
setValueParametersback to summary
public @NotNull FunctionDescriptor.CopyBuilder<D> setValueParameters(@NotNull List<kotlin.reflect.jvm.internal.impl.descriptors.ValueParameterDescriptor> parameters)
Annotations
@NotNull
setVisibilityback to summary
public @NotNull FunctionDescriptor.CopyBuilder<D> setVisibility(@NotNull kotlin.reflect.jvm.internal.impl.descriptors.DescriptorVisibility visibility)
Annotations
@NotNull
@Override