org.jetbrains.jet.lang.resolve.calls.tasks
Class ResolutionCandidate<D extends CallableDescriptor>

java.lang.Object
  extended by org.jetbrains.jet.lang.resolve.calls.tasks.ResolutionCandidate<D>

public class ResolutionCandidate<D extends CallableDescriptor>
extends java.lang.Object


Method Summary
static
<D extends CallableDescriptor>
java.util.List<ResolutionCandidate<D>>
convertCollection(java.util.Collection<? extends D> descriptors, boolean isSafeCall)
           
static
<D extends CallableDescriptor>
ResolutionCandidate<D>
create(D descriptor, java.lang.Boolean isSafeCall)
           
static
<D extends CallableDescriptor>
ResolutionCandidate<D>
create(D descriptor, ReceiverValue thisObject, ReceiverValue receiverArgument, ExplicitReceiverKind explicitReceiverKind, boolean isSafeCall)
           
 D getDescriptor()
           
 ExplicitReceiverKind getExplicitReceiverKind()
           
 ReceiverValue getReceiverArgument()
           
 ReceiverValue getThisObject()
           
 boolean isSafeCall()
           
 void setExplicitReceiverKind(ExplicitReceiverKind explicitReceiverKind)
           
 void setReceiverArgument(ReceiverValue receiverArgument)
           
 void setSafeCall(boolean safeCall)
           
 void setThisObject(ReceiverValue thisObject)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

create

public static <D extends CallableDescriptor> ResolutionCandidate<D> create(@NotNull
                                                                           D descriptor,
                                                                           @Nullable
                                                                           java.lang.Boolean isSafeCall)

create

public static <D extends CallableDescriptor> ResolutionCandidate<D> create(@NotNull
                                                                           D descriptor,
                                                                           @NotNull
                                                                           ReceiverValue thisObject,
                                                                           @NotNull
                                                                           ReceiverValue receiverArgument,
                                                                           @NotNull
                                                                           ExplicitReceiverKind explicitReceiverKind,
                                                                           boolean isSafeCall)

setThisObject

public void setThisObject(@NotNull
                          ReceiverValue thisObject)

setReceiverArgument

public void setReceiverArgument(@NotNull
                                ReceiverValue receiverArgument)

setExplicitReceiverKind

public void setExplicitReceiverKind(@NotNull
                                    ExplicitReceiverKind explicitReceiverKind)

getDescriptor

@NotNull
public D getDescriptor()

getThisObject

@NotNull
public ReceiverValue getThisObject()

getReceiverArgument

@NotNull
public ReceiverValue getReceiverArgument()

getExplicitReceiverKind

@NotNull
public ExplicitReceiverKind getExplicitReceiverKind()

convertCollection

@NotNull
public static <D extends CallableDescriptor> java.util.List<ResolutionCandidate<D>> convertCollection(@NotNull
                                                                                                              java.util.Collection<? extends D> descriptors,
                                                                                                              boolean isSafeCall)

setSafeCall

public void setSafeCall(boolean safeCall)

isSafeCall

public boolean isSafeCall()

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object