org.jetbrains.kotlin.serialization.deserialization.descriptors
Class DeserializedSimpleFunctionDescriptor
java.lang.Object
org.jetbrains.kotlin.descriptors.annotations.AnnotatedImpl
org.jetbrains.kotlin.descriptors.impl.DeclarationDescriptorImpl
org.jetbrains.kotlin.descriptors.impl.DeclarationDescriptorNonRootImpl
org.jetbrains.kotlin.descriptors.impl.FunctionDescriptorImpl
org.jetbrains.kotlin.descriptors.impl.SimpleFunctionDescriptorImpl
org.jetbrains.kotlin.serialization.deserialization.descriptors.DeserializedSimpleFunctionDescriptor
- All Implemented Interfaces:
- Annotated, CallableDescriptor, CallableMemberDescriptor, DeclarationDescriptor, DeclarationDescriptorNonRoot, DeclarationDescriptorWithSource, DeclarationDescriptorWithVisibility, FunctionDescriptor, MemberDescriptor, Named, SimpleFunctionDescriptor
public class DeserializedSimpleFunctionDescriptor
- extends SimpleFunctionDescriptorImpl
| Methods inherited from class org.jetbrains.kotlin.descriptors.impl.FunctionDescriptorImpl |
accept, addOverriddenDescriptor, doSubstitute, doSubstitute, getDispatchReceiverParameter, getExtensionReceiverParameter, getExtensionReceiverParameterType, getInitialSignatureDescriptor, getKind, getModality, getOverriddenDescriptors, getReturnType, getSourceToUseForCopy, getSubstitutedValueParameters, getTypeParameters, getValueParameters, getVisibility, hasStableParameterNames, hasSynthesizedParameterNames, isExternal, isInfix, isInline, isOperator, isTailrec, setExternal, setInfix, setInitialSignatureDescriptor, setInline, setOperator, setReturnType, setTailrec, setVisibility, substitute |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.jetbrains.kotlin.descriptors.Named |
getName |
createSubstitutedCopy
@NotNull
protected FunctionDescriptorImpl createSubstitutedCopy(@NotNull
DeclarationDescriptor newOwner,
@Nullable
FunctionDescriptor original,
@NotNull
CallableMemberDescriptor.Kind kind,
@Nullable
Name newName,
boolean preserveSource)
- Overrides:
createSubstitutedCopy in class SimpleFunctionDescriptorImpl
getOriginal
@NotNull
public DeserializedSimpleFunctionDescriptor getOriginal()
- Specified by:
getOriginal in interface CallableDescriptor- Specified by:
getOriginal in interface CallableMemberDescriptor- Specified by:
getOriginal in interface DeclarationDescriptor- Specified by:
getOriginal in interface DeclarationDescriptorWithSource- Specified by:
getOriginal in interface FunctionDescriptor- Specified by:
getOriginal in interface SimpleFunctionDescriptor- Overrides:
getOriginal in class SimpleFunctionDescriptorImpl
- Returns:
- 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
getProto
@NotNull
public ProtoBuf.Function getProto()
getNameResolver
@NotNull
public NameResolver getNameResolver()
getTypeTable
@NotNull
public TypeTable getTypeTable()
create
@NotNull
public static DeserializedSimpleFunctionDescriptor create(@NotNull
DeclarationDescriptor containingDeclaration,
@NotNull
Annotations annotations,
@NotNull
ProtoBuf.Function proto,
@NotNull
NameResolver nameResolver,
@NotNull
TypeTable typeTable)