|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.jetbrains.kotlin.resolve.calls.CallExpressionResolver
public class CallExpressionResolver
| Constructor Summary | |
|---|---|
CallExpressionResolver(CallResolver callResolver,
ConstantExpressionEvaluator constantExpressionEvaluator,
DataFlowAnalyzer dataFlowAnalyzer,
KotlinBuiltIns builtIns,
QualifiedExpressionResolver qualifiedExpressionResolver,
SymbolUsageValidator symbolUsageValidator)
|
|
| Method Summary | |
|---|---|
KotlinTypeInfo |
getCallExpressionTypeInfo(KtCallExpression callExpression,
ReceiverValue receiver,
com.intellij.lang.ASTNode callOperationNode,
ExpressionTypingContext context)
|
KotlinTypeInfo |
getQualifiedExpressionTypeInfo(KtQualifiedExpression expression,
ExpressionTypingContext context)
Visits a qualified expression like x.y or x?.z controlling data flow information changes. |
ResolvedCall<FunctionDescriptor> |
getResolvedCallForFunction(Call call,
ResolutionContext context,
CheckArgumentTypesMode checkArguments,
boolean[] result)
|
KotlinTypeInfo |
getSimpleNameExpressionTypeInfo(KtSimpleNameExpression nameExpression,
Receiver receiver,
com.intellij.lang.ASTNode callOperationNode,
ExpressionTypingContext context)
|
static void |
reportUnnecessarySafeCall(BindingTrace trace,
KotlinType type,
com.intellij.lang.ASTNode callOperationNode,
Receiver explicitReceiver)
|
void |
setExpressionTypingServices(ExpressionTypingServices expressionTypingServices)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CallExpressionResolver(@NotNull
CallResolver callResolver,
@NotNull
ConstantExpressionEvaluator constantExpressionEvaluator,
@NotNull
DataFlowAnalyzer dataFlowAnalyzer,
@NotNull
KotlinBuiltIns builtIns,
@NotNull
QualifiedExpressionResolver qualifiedExpressionResolver,
@NotNull
SymbolUsageValidator symbolUsageValidator)
| Method Detail |
|---|
@Inject
public void setExpressionTypingServices(@NotNull
ExpressionTypingServices expressionTypingServices)
@Nullable
public ResolvedCall<FunctionDescriptor> getResolvedCallForFunction(@NotNull
Call call,
@NotNull
ResolutionContext context,
@NotNull
CheckArgumentTypesMode checkArguments,
@NotNull
boolean[] result)
@NotNull
public KotlinTypeInfo getSimpleNameExpressionTypeInfo(@NotNull
KtSimpleNameExpression nameExpression,
@Nullable
Receiver receiver,
@Nullable
com.intellij.lang.ASTNode callOperationNode,
@NotNull
ExpressionTypingContext context)
@NotNull
public KotlinTypeInfo getCallExpressionTypeInfo(@NotNull
KtCallExpression callExpression,
@Nullable
ReceiverValue receiver,
@Nullable
com.intellij.lang.ASTNode callOperationNode,
@NotNull
ExpressionTypingContext context)
public static void reportUnnecessarySafeCall(@NotNull
BindingTrace trace,
@NotNull
KotlinType type,
@NotNull
com.intellij.lang.ASTNode callOperationNode,
@Nullable
Receiver explicitReceiver)
@NotNull
public KotlinTypeInfo getQualifiedExpressionTypeInfo(@NotNull
KtQualifiedExpression expression,
@NotNull
ExpressionTypingContext context)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||