org.jetbrains.jet.lang.resolve.calls.context
Class ResolutionContext<Context extends ResolutionContext<Context>>
java.lang.Object
org.jetbrains.jet.lang.resolve.calls.context.ResolutionContext<Context>
- Direct Known Subclasses:
- CallResolutionContext, ExpressionTypingContext, SimpleResolutionContext
public abstract class ResolutionContext<Context extends ResolutionContext<Context>>
- extends java.lang.Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
trace
public final BindingTrace trace
scope
public final JetScope scope
expectedType
public final JetType expectedType
dataFlowInfo
public final DataFlowInfo dataFlowInfo
contextDependency
public final ContextDependency contextDependency
resolutionResultsCache
public final ResolutionResultsCache resolutionResultsCache
labelResolver
public final LabelResolver labelResolver
callResolverExtension
public final CallResolverExtension callResolverExtension
isAnnotationContext
public final boolean isAnnotationContext
ResolutionContext
protected ResolutionContext(@NotNull
BindingTrace trace,
@NotNull
JetScope scope,
@NotNull
JetType expectedType,
@NotNull
DataFlowInfo dataFlowInfo,
@NotNull
ContextDependency contextDependency,
@NotNull
ResolutionResultsCache resolutionResultsCache,
@NotNull
LabelResolver labelResolver,
@NotNull
CallResolverExtension callResolverExtension,
boolean isAnnotationContext)
create
protected abstract Context create(@NotNull
BindingTrace trace,
@NotNull
JetScope scope,
@NotNull
DataFlowInfo dataFlowInfo,
@NotNull
JetType expectedType,
@NotNull
ContextDependency contextDependency,
@NotNull
ResolutionResultsCache resolutionResultsCache,
@NotNull
LabelResolver labelResolver)
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)