public class ResolutionResultsCache extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
ResolutionResultsCache.MemberType<D extends CallableDescriptor> |
Constructor and Description |
---|
ResolutionResultsCache() |
Modifier and Type | Method and Description |
---|---|
static ResolutionResultsCache |
create() |
CallCandidateResolutionContext<FunctionDescriptor> |
getDeferredComputation(CallKey callKey) |
<D extends CallableDescriptor> |
getResolutionResults(CallKey callKey,
ResolutionResultsCache.MemberType<D> memberType) |
DelegatingBindingTrace |
getResolutionTrace(CallKey callKey) |
<D extends CallableDescriptor> |
recordDeferredComputationForCall(CallKey callKey,
CallCandidateResolutionContext<D> deferredComputation,
ResolutionResultsCache.MemberType memberType) |
<D extends CallableDescriptor> |
recordResolutionResults(CallKey callKey,
ResolutionResultsCache.MemberType<D> memberType,
OverloadResolutionResultsImpl<D> results) |
void |
recordResolutionTrace(CallKey callKey,
DelegatingBindingTrace delegatingTrace) |
public static final ResolutionResultsCache.MemberType<FunctionDescriptor> FUNCTION_MEMBER_TYPE
public static final ResolutionResultsCache.MemberType<VariableDescriptor> PROPERTY_MEMBER_TYPE
public static final WritableSlice<CallKey,OverloadResolutionResultsImpl<FunctionDescriptor>> RESOLUTION_RESULTS_FOR_FUNCTION
public static final WritableSlice<CallKey,OverloadResolutionResultsImpl<VariableDescriptor>> RESOLUTION_RESULTS_FOR_PROPERTY
public static final WritableSlice<CallKey,DelegatingBindingTrace> TRACE_DELTAS_CACHE
public static final WritableSlice<CallKey,CallCandidateResolutionContext<FunctionDescriptor>> DEFERRED_COMPUTATION_FOR_CALL
public ResolutionResultsCache()
public <D extends CallableDescriptor> void recordResolutionResults(@NotNull CallKey callKey, @NotNull ResolutionResultsCache.MemberType<D> memberType, @NotNull OverloadResolutionResultsImpl<D> results)
@Nullable public <D extends CallableDescriptor> OverloadResolutionResultsImpl<D> getResolutionResults(@NotNull CallKey callKey, @NotNull ResolutionResultsCache.MemberType<D> memberType)
public void recordResolutionTrace(@NotNull CallKey callKey, @NotNull DelegatingBindingTrace delegatingTrace)
@Nullable public DelegatingBindingTrace getResolutionTrace(@NotNull CallKey callKey)
public <D extends CallableDescriptor> void recordDeferredComputationForCall(@NotNull CallKey callKey, @NotNull CallCandidateResolutionContext<D> deferredComputation, @NotNull ResolutionResultsCache.MemberType memberType)
@Nullable public CallCandidateResolutionContext<FunctionDescriptor> getDeferredComputation(@NotNull CallKey callKey)
@NotNull public static ResolutionResultsCache create()