org.jetbrains.kotlin.resolve.calls.context
Class ResolutionContext<Context extends ResolutionContext<Context>>
java.lang.Object
org.jetbrains.kotlin.resolve.calls.context.ResolutionContext<Context>
- Direct Known Subclasses:
- CallResolutionContext, ExpressionTypingContext, SimpleResolutionContext
public abstract class ResolutionContext<Context extends ResolutionContext<Context>>
- extends java.lang.Object
Constructor Summary |
protected |
ResolutionContext(BindingTrace trace,
JetScope scope,
JetType expectedType,
DataFlowInfo dataFlowInfo,
ContextDependency contextDependency,
ResolutionResultsCache resolutionResultsCache,
CallChecker callChecker,
AdditionalTypeChecker additionalTypeChecker,
StatementFilter statementFilter,
boolean isAnnotationContext,
boolean collectAllCandidates)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
trace
@NotNull
public final BindingTrace trace
scope
@NotNull
public final JetScope scope
expectedType
@NotNull
public final JetType expectedType
dataFlowInfo
@NotNull
public final DataFlowInfo dataFlowInfo
contextDependency
@NotNull
public final ContextDependency contextDependency
resolutionResultsCache
@NotNull
public final ResolutionResultsCache resolutionResultsCache
callChecker
@NotNull
public final CallChecker callChecker
statementFilter
@NotNull
public final StatementFilter statementFilter
additionalTypeChecker
public final AdditionalTypeChecker additionalTypeChecker
isAnnotationContext
public final boolean isAnnotationContext
collectAllCandidates
public final boolean collectAllCandidates
ResolutionContext
protected ResolutionContext(@NotNull
BindingTrace trace,
@NotNull
JetScope scope,
@NotNull
JetType expectedType,
@NotNull
DataFlowInfo dataFlowInfo,
@NotNull
ContextDependency contextDependency,
@NotNull
ResolutionResultsCache resolutionResultsCache,
@NotNull
CallChecker callChecker,
@NotNull
AdditionalTypeChecker additionalTypeChecker,
@NotNull
StatementFilter statementFilter,
boolean isAnnotationContext,
boolean collectAllCandidates)
create
protected abstract Context create(@NotNull
BindingTrace trace,
@NotNull
JetScope scope,
@NotNull
DataFlowInfo dataFlowInfo,
@NotNull
JetType expectedType,
@NotNull
ContextDependency contextDependency,
@NotNull
ResolutionResultsCache resolutionResultsCache,
@NotNull
StatementFilter statementFilter,
boolean collectAllCandidates)
replaceBindingTrace
@NotNull
public Context replaceBindingTrace(@NotNull
BindingTrace trace)
replaceDataFlowInfo
@NotNull
public Context replaceDataFlowInfo(@NotNull
DataFlowInfo newDataFlowInfo)
replaceExpectedType
@NotNull
public Context replaceExpectedType(@Nullable
JetType newExpectedType)
replaceScope
@NotNull
public Context replaceScope(@NotNull
JetScope newScope)
replaceContextDependency
@NotNull
public Context replaceContextDependency(@NotNull
ContextDependency newContextDependency)
replaceResolutionResultsCache
@NotNull
public Context replaceResolutionResultsCache(@NotNull
ResolutionResultsCache newResolutionResultsCache)
replaceTraceAndCache
@NotNull
public Context replaceTraceAndCache(@NotNull
TemporaryTraceAndCache traceAndCache)
replaceCollectAllCandidates
@NotNull
public Context replaceCollectAllCandidates(boolean newCollectAllCandidates)
replacestatementFilter
@NotNull
public Context replacestatementFilter(@NotNull
StatementFilter statementFilter)