org.jetbrains.kotlin.types.error
Class ErrorSimpleFunctionDescriptorImpl

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.types.error.ErrorSimpleFunctionDescriptorImpl
All Implemented Interfaces:
Annotated, CallableDescriptor, CallableMemberDescriptor, DeclarationDescriptor, DeclarationDescriptorNonRoot, DeclarationDescriptorWithSource, DeclarationDescriptorWithVisibility, FunctionDescriptor, MemberDescriptor, Named, SimpleFunctionDescriptor

public class ErrorSimpleFunctionDescriptorImpl
extends SimpleFunctionDescriptorImpl


Nested Class Summary
 
Nested classes/interfaces inherited from interface org.jetbrains.kotlin.descriptors.CallableMemberDescriptor
CallableMemberDescriptor.Kind
 
Constructor Summary
ErrorSimpleFunctionDescriptorImpl(ClassDescriptor containingDeclaration, ErrorUtils.ErrorScope ownerScope)
           
 
Method Summary
 void addOverriddenDescriptor(CallableMemberDescriptor overriddenFunction)
           
 SimpleFunctionDescriptor copy(DeclarationDescriptor newOwner, Modality modality, Visibility visibility, CallableMemberDescriptor.Kind kind, boolean copyOverrides)
           
 SimpleFunctionDescriptor createCopyWithNewValueParameters(java.util.List<ValueParameterDescriptor> valueParameters)
           
 SimpleFunctionDescriptor createRenamedCopy(Name name)
           
protected  FunctionDescriptorImpl createSubstitutedCopy(DeclarationDescriptor newOwner, FunctionDescriptor original, CallableMemberDescriptor.Kind kind, Name newName, boolean preserveSource)
           
 
Methods inherited from class org.jetbrains.kotlin.descriptors.impl.SimpleFunctionDescriptorImpl
create, getOriginal, initialize
 
Methods inherited from class org.jetbrains.kotlin.descriptors.impl.FunctionDescriptorImpl
accept, 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 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, isInfix, isInline, isOperator, isTailrec, substitute
 
Methods inherited from interface org.jetbrains.kotlin.descriptors.CallableMemberDescriptor
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
 

Constructor Detail

ErrorSimpleFunctionDescriptorImpl

public ErrorSimpleFunctionDescriptorImpl(@NotNull
                                         ClassDescriptor containingDeclaration,
                                         @NotNull
                                         ErrorUtils.ErrorScope ownerScope)
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

copy

@NotNull
public SimpleFunctionDescriptor copy(DeclarationDescriptor newOwner,
                                             Modality modality,
                                             Visibility visibility,
                                             CallableMemberDescriptor.Kind kind,
                                             boolean copyOverrides)
Specified by:
copy in interface CallableMemberDescriptor
Specified by:
copy in interface FunctionDescriptor
Specified by:
copy in interface SimpleFunctionDescriptor
Overrides:
copy in class SimpleFunctionDescriptorImpl

createRenamedCopy

@NotNull
public SimpleFunctionDescriptor createRenamedCopy(@NotNull
                                                          Name name)
Specified by:
createRenamedCopy in interface SimpleFunctionDescriptor
Overrides:
createRenamedCopy in class SimpleFunctionDescriptorImpl

createCopyWithNewValueParameters

@NotNull
public SimpleFunctionDescriptor createCopyWithNewValueParameters(@NotNull
                                                                         java.util.List<ValueParameterDescriptor> valueParameters)
Specified by:
createCopyWithNewValueParameters in interface SimpleFunctionDescriptor
Overrides:
createCopyWithNewValueParameters in class SimpleFunctionDescriptorImpl

addOverriddenDescriptor

public void addOverriddenDescriptor(@NotNull
                                    CallableMemberDescriptor overriddenFunction)
Specified by:
addOverriddenDescriptor in interface CallableMemberDescriptor
Overrides:
addOverriddenDescriptor in class FunctionDescriptorImpl