org.jetbrains.kotlin.types.expressions
Class ExpressionTypingContext

java.lang.Object
  extended by org.jetbrains.kotlin.resolve.calls.context.ResolutionContext<ExpressionTypingContext>
      extended by org.jetbrains.kotlin.types.expressions.ExpressionTypingContext

public class ExpressionTypingContext
extends ResolutionContext<ExpressionTypingContext>


Field Summary
 
Fields inherited from class org.jetbrains.kotlin.resolve.calls.context.ResolutionContext
callPosition, collectAllCandidates, contextDependency, dataFlowInfo, expectedType, isAnnotationContext, isDebuggerContext, resolutionResultsCache, scope, statementFilter, trace
 
Method Summary
protected  ExpressionTypingContext create(BindingTrace trace, LexicalScope scope, DataFlowInfo dataFlowInfo, KotlinType expectedType, ContextDependency contextDependency, ResolutionResultsCache resolutionResultsCache, StatementFilter statementFilter, boolean collectAllCandidates, CallPosition callPosition)
           
static ExpressionTypingContext newContext(BindingTrace trace, LexicalScope scope, DataFlowInfo dataFlowInfo, KotlinType expectedType)
           
static ExpressionTypingContext newContext(BindingTrace trace, LexicalScope scope, DataFlowInfo dataFlowInfo, KotlinType expectedType, ContextDependency contextDependency, ResolutionResultsCache resolutionResultsCache, StatementFilter statementFilter, boolean isAnnotationContext)
           
static ExpressionTypingContext newContext(ResolutionContext context)
           
static ExpressionTypingContext newContext(ResolutionContext context, boolean isDebuggerContext)
           
 
Methods inherited from class org.jetbrains.kotlin.resolve.calls.context.ResolutionContext
replaceBindingTrace, replaceCallPosition, replaceCollectAllCandidates, replaceContextDependency, replaceDataFlowInfo, replaceExpectedType, replaceResolutionResultsCache, replaceScope, replaceStatementFilter, replaceTraceAndCache
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

newContext

@NotNull
public static ExpressionTypingContext newContext(@NotNull
                                                         BindingTrace trace,
                                                         @NotNull
                                                         LexicalScope scope,
                                                         @NotNull
                                                         DataFlowInfo dataFlowInfo,
                                                         @NotNull
                                                         KotlinType expectedType)

newContext

@NotNull
public static ExpressionTypingContext newContext(@NotNull
                                                         ResolutionContext context)

newContext

@NotNull
public static ExpressionTypingContext newContext(@NotNull
                                                         ResolutionContext context,
                                                         boolean isDebuggerContext)

newContext

@NotNull
public static ExpressionTypingContext newContext(@NotNull
                                                         BindingTrace trace,
                                                         @NotNull
                                                         LexicalScope scope,
                                                         @NotNull
                                                         DataFlowInfo dataFlowInfo,
                                                         @NotNull
                                                         KotlinType expectedType,
                                                         @NotNull
                                                         ContextDependency contextDependency,
                                                         @NotNull
                                                         ResolutionResultsCache resolutionResultsCache,
                                                         @NotNull
                                                         StatementFilter statementFilter,
                                                         boolean isAnnotationContext)

create

protected ExpressionTypingContext create(@NotNull
                                         BindingTrace trace,
                                         @NotNull
                                         LexicalScope scope,
                                         @NotNull
                                         DataFlowInfo dataFlowInfo,
                                         @NotNull
                                         KotlinType expectedType,
                                         @NotNull
                                         ContextDependency contextDependency,
                                         @NotNull
                                         ResolutionResultsCache resolutionResultsCache,
                                         @NotNull
                                         StatementFilter statementFilter,
                                         boolean collectAllCandidates,
                                         @NotNull
                                         CallPosition callPosition)
Specified by:
create in class ResolutionContext<ExpressionTypingContext>