org.jetbrains.jet.lang.resolve.calls.context
Class ResolutionResultsCacheImpl
java.lang.Object
org.jetbrains.jet.lang.resolve.calls.context.ResolutionResultsCacheImpl
- All Implemented Interfaces:
- ResolutionResultsCache
public class ResolutionResultsCacheImpl
- extends java.lang.Object
- implements ResolutionResultsCache
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RESOLUTION_RESULTS_FOR_FUNCTION
public static final WritableSlice<CallKey,OverloadResolutionResultsImpl<FunctionDescriptor>> RESOLUTION_RESULTS_FOR_FUNCTION
RESOLUTION_RESULTS_FOR_PROPERTY
public static final WritableSlice<CallKey,OverloadResolutionResultsImpl<VariableDescriptor>> RESOLUTION_RESULTS_FOR_PROPERTY
TRACE_DELTAS_CACHE
public static final WritableSlice<CallKey,DelegatingBindingTrace> TRACE_DELTAS_CACHE
DEFERRED_COMPUTATION_FOR_CALL
public static final WritableSlice<CallKey,CallCandidateResolutionContext<? extends CallableDescriptor>> DEFERRED_COMPUTATION_FOR_CALL
RESOLVED_CALL_FOR_ARGUMENT
public static final WritableSlice<CallKey,ResolvedCallWithTrace<? extends CallableDescriptor>> RESOLVED_CALL_FOR_ARGUMENT
ResolutionResultsCacheImpl
public ResolutionResultsCacheImpl()
recordResolutionResults
public <D extends CallableDescriptor> void recordResolutionResults(@NotNull
CallKey callKey,
@NotNull
ResolutionResultsCache.MemberType<D> memberType,
@NotNull
OverloadResolutionResultsImpl<D> results)
- Specified by:
recordResolutionResults
in interface ResolutionResultsCache
getResolutionResults
@Nullable
public <D extends CallableDescriptor> OverloadResolutionResultsImpl<D> getResolutionResults(@NotNull
CallKey callKey,
@NotNull
ResolutionResultsCache.MemberType<D> memberType)
- Specified by:
getResolutionResults
in interface ResolutionResultsCache
recordResolutionTrace
public void recordResolutionTrace(@NotNull
CallKey callKey,
@NotNull
DelegatingBindingTrace delegatingTrace)
- Specified by:
recordResolutionTrace
in interface ResolutionResultsCache
getResolutionTrace
@Nullable
public DelegatingBindingTrace getResolutionTrace(@NotNull
CallKey callKey)
- Specified by:
getResolutionTrace
in interface ResolutionResultsCache
recordDeferredComputationForCall
public <D extends CallableDescriptor> void recordDeferredComputationForCall(@NotNull
CallKey callKey,
@NotNull
ResolvedCallWithTrace<D> resolvedCall,
@NotNull
CallCandidateResolutionContext<D> deferredComputation)
- Specified by:
recordDeferredComputationForCall
in interface ResolutionResultsCache
getDeferredComputation
@Nullable
public CallCandidateResolutionContext<? extends CallableDescriptor> getDeferredComputation(@Nullable
JetExpression expression)
- Specified by:
getDeferredComputation
in interface ResolutionResultsCache
getCallForArgument
@Nullable
public ResolvedCallWithTrace<? extends CallableDescriptor> getCallForArgument(@Nullable
JetExpression expression)
- Specified by:
getCallForArgument
in interface ResolutionResultsCache
create
@NotNull
public static ResolutionResultsCache create()