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
additionalTypeChecker, callChecker, collectAllCandidates, contextDependency, dataFlowInfo, expectedType, insideCallChain, isAnnotationContext, resolutionResultsCache, scope, statementFilter, symbolUsageValidator, trace
 
Method Summary
protected  ExpressionTypingContext create(BindingTrace trace, JetScope scope, DataFlowInfo dataFlowInfo, JetType expectedType, ContextDependency contextDependency, ResolutionResultsCache resolutionResultsCache, StatementFilter statementFilter, boolean collectAllCandidates, boolean insideSafeCallChain)
           
 CompileTimeConstantChecker getCompileTimeConstantChecker()
           
static ExpressionTypingContext newContext(AdditionalCheckerProvider additionalCheckerProvider, BindingTrace trace, JetScope scope, DataFlowInfo dataFlowInfo, JetType expectedType)
           
static ExpressionTypingContext newContext(AdditionalCheckerProvider additionalCheckerProvider, BindingTrace trace, JetScope scope, DataFlowInfo dataFlowInfo, JetType expectedType, CallChecker callChecker)
           
static ExpressionTypingContext newContext(BindingTrace trace, JetScope scope, DataFlowInfo dataFlowInfo, JetType expectedType, ContextDependency contextDependency, ResolutionResultsCache resolutionResultsCache, CallChecker callChecker, SymbolUsageValidator symbolUsageValidator, AdditionalTypeChecker additionalTypeChecker, StatementFilter statementFilter, boolean isAnnotationContext)
           
static ExpressionTypingContext newContext(ResolutionContext context)
           
 
Methods inherited from class org.jetbrains.kotlin.resolve.calls.context.ResolutionContext
replaceBindingTrace, replaceCollectAllCandidates, replaceContextDependency, replaceDataFlowInfo, replaceExpectedType, replaceInsideCallChain, 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
                                                         AdditionalCheckerProvider additionalCheckerProvider,
                                                         @NotNull
                                                         BindingTrace trace,
                                                         @NotNull
                                                         JetScope scope,
                                                         @NotNull
                                                         DataFlowInfo dataFlowInfo,
                                                         @NotNull
                                                         JetType expectedType)

newContext

@NotNull
public static ExpressionTypingContext newContext(@NotNull
                                                         AdditionalCheckerProvider additionalCheckerProvider,
                                                         @NotNull
                                                         BindingTrace trace,
                                                         @NotNull
                                                         JetScope scope,
                                                         @NotNull
                                                         DataFlowInfo dataFlowInfo,
                                                         @NotNull
                                                         JetType expectedType,
                                                         @Nullable
                                                         CallChecker callChecker)

newContext

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

newContext

@NotNull
public static ExpressionTypingContext newContext(@NotNull
                                                         BindingTrace trace,
                                                         @NotNull
                                                         JetScope scope,
                                                         @NotNull
                                                         DataFlowInfo dataFlowInfo,
                                                         @NotNull
                                                         JetType expectedType,
                                                         @NotNull
                                                         ContextDependency contextDependency,
                                                         @NotNull
                                                         ResolutionResultsCache resolutionResultsCache,
                                                         @NotNull
                                                         CallChecker callChecker,
                                                         @NotNull
                                                         SymbolUsageValidator symbolUsageValidator,
                                                         @NotNull
                                                         AdditionalTypeChecker additionalTypeChecker,
                                                         @NotNull
                                                         StatementFilter statementFilter,
                                                         boolean isAnnotationContext)

create

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

getCompileTimeConstantChecker

public CompileTimeConstantChecker getCompileTimeConstantChecker()