org.jetbrains.kotlin.serialization.deserialization.descriptors
Class DeserializedSimpleFunctionDescriptor

java.lang.Object
  extended by org.jetbrains.kotlin.descriptors.annotations.AnnotatedImpl
      extended by org.jetbrains.kotlin.descriptors.impl.DeclarationDescriptorImpl
          extended by org.jetbrains.kotlin.descriptors.impl.DeclarationDescriptorNonRootImpl
              extended by org.jetbrains.kotlin.descriptors.impl.FunctionDescriptorImpl
                  extended by org.jetbrains.kotlin.descriptors.impl.SimpleFunctionDescriptorImpl
                      extended by 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


Nested Class Summary
 
Nested classes/interfaces inherited from class org.jetbrains.kotlin.descriptors.impl.FunctionDescriptorImpl
FunctionDescriptorImpl.CopyConfiguration
 
Nested classes/interfaces inherited from interface org.jetbrains.kotlin.descriptors.CallableMemberDescriptor
CallableMemberDescriptor.Kind
 
Method Summary
static DeserializedSimpleFunctionDescriptor create(DeclarationDescriptor containingDeclaration, Annotations annotations, ProtoBuf.Function proto, NameResolver nameResolver, TypeTable typeTable)
           
protected  FunctionDescriptorImpl createSubstitutedCopy(DeclarationDescriptor newOwner, FunctionDescriptor original, CallableMemberDescriptor.Kind kind, Name newName, boolean preserveSource)
           
 NameResolver getNameResolver()
           
 DeserializedSimpleFunctionDescriptor getOriginal()
           
 ProtoBuf.Function getProto()
           
 TypeTable getTypeTable()
           
 
Methods inherited from class org.jetbrains.kotlin.descriptors.impl.SimpleFunctionDescriptorImpl
copy, create, createCopyWithNewTypeParameters, createCopyWithNewValueParameters, createHiddenCopyToOvercomeSignatureClash, createRenamedCopy, initialize
 
Methods inherited from class org.jetbrains.kotlin.descriptors.impl.FunctionDescriptorImpl
accept, addOverriddenDescriptor, doSubstitute, getDispatchReceiverParameter, getExtensionReceiverParameter, getExtensionReceiverParameterType, getInitialSignatureDescriptor, getKind, getModality, getOverriddenDescriptors, getReturnType, getSourceToUseForCopy, getSubstitutedValueParameters, getTypeParameters, getValueParameters, getVisibility, hasStableParameterNames, hasSynthesizedParameterNames, isExternal, isHiddenToOvercomeSignatureClash, isInfix, isInline, isOperator, isTailrec, newCopyBuilder, setExternal, setHasStableParameterNames, setHasSynthesizedParameterNames, setHidden, setInfix, setInitialSignatureDescriptor, setInline, setOperator, setReturnType, setTailrec, setVisibility, substitute
 
Methods inherited from class org.jetbrains.kotlin.descriptors.impl.DeclarationDescriptorNonRootImpl
getContainingDeclaration, getSource
 
Methods inherited from class org.jetbrains.kotlin.descriptors.impl.DeclarationDescriptorImpl
acceptVoid, getName, toString, toString
 
Methods inherited from class org.jetbrains.kotlin.descriptors.annotations.AnnotatedImpl
getAnnotations
 
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.FunctionDescriptor
getContainingDeclaration, getInitialSignatureDescriptor, getOverriddenDescriptors, isExternal, isHiddenToOvercomeSignatureClash, isInfix, isInline, isOperator, isTailrec, substitute
 
Methods inherited from interface org.jetbrains.kotlin.descriptors.CallableMemberDescriptor
addOverriddenDescriptor, getKind
 
Methods inherited from interface org.jetbrains.kotlin.descriptors.CallableDescriptor
getDispatchReceiverParameter, getExtensionReceiverParameter, getReturnType, getTypeParameters, getValueParameters, hasStableParameterNames, hasSynthesizedParameterNames
 
Methods inherited from interface org.jetbrains.kotlin.descriptors.MemberDescriptor
getModality, getVisibility
 
Methods inherited from interface org.jetbrains.kotlin.descriptors.DeclarationDescriptorWithSource
getSource
 
Methods inherited from interface org.jetbrains.kotlin.descriptors.DeclarationDescriptor
accept, acceptVoid
 
Methods inherited from interface org.jetbrains.kotlin.descriptors.annotations.Annotated
getAnnotations
 
Methods inherited from interface org.jetbrains.kotlin.descriptors.Named
getName
 

Method Detail

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)