Interface Invocation
- All Superinterfaces:
InvocationSite
- All Known Implementing Classes:
AllocationExpression
,CodeSnippetAllocationExpression
,CodeSnippetMessageSend
,CompletionOnExplicitConstructorCall
,CompletionOnJavadocAllocationExpression
,CompletionOnJavadocMessageSend
,CompletionOnMessageSend
,CompletionOnMessageSendName
,CompletionOnQualifiedAllocationExpression
,ExplicitConstructorCall
,JavadocAllocationExpression
,JavadocMessageSend
,KnownMessageSend
,MessageSend
,Proceed
,QualifiedAllocationExpression
,SelectionOnExplicitConstructorCall
,SelectionOnMessageSend
,SelectionOnQualifiedAllocationExpression
Abstraction for invocation AST nodes that can trigger overload resolution possibly involving type inference
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.aspectj.org.eclipse.jdt.internal.compiler.lookup.InvocationSite
InvocationSite.EmptyWithAstNode
-
Method Summary
Modifier and TypeMethodDescriptionbinding()
Answer the resolved method binding of this invocationvoid
Discard any state from type inference when compilation is done.Retrieve an inference context for the given method.void
registerInferenceContext(ParameterizedGenericMethodBinding method, InferenceContext18 infCtx18)
Register the given inference context, which produced the given method as its intermediate result.void
registerResult(TypeBinding targetType, MethodBinding method)
Record result against target typeMethods inherited from interface org.aspectj.org.eclipse.jdt.internal.compiler.lookup.InvocationSite
acceptPotentiallyCompatibleMethods, checkingPotentialCompatibility, freshInferenceContext, genericTypeArguments, getExpressionContext, getPatternVariablesWhenTrue, invocationTargetType, isQualifiedSuper, isSuperAccess, isTypeAccess, nameSourceEnd, nameSourceStart, receiverIsImplicitThis, setActualReceiverType, setDepth, setFieldIndex, sourceEnd, sourceStart
-
Method Details
-
arguments
Expression[] arguments() -
binding
MethodBinding binding()Answer the resolved method binding of this invocation -
registerInferenceContext
void registerInferenceContext(ParameterizedGenericMethodBinding method, InferenceContext18 infCtx18)Register the given inference context, which produced the given method as its intermediate result. Later when the same method is selected as the most specific method, the inference context for this pair (Invocation x MethodBinding) can be looked up usinggetInferenceContext(ParameterizedMethodBinding)
to continue the type inference. -
getInferenceContext
Retrieve an inference context for the given method.- Parameters:
method
- an intermediate resolved candidate for this invocation return the associated inference context.
-
cleanUpInferenceContexts
void cleanUpInferenceContexts()Discard any state from type inference when compilation is done. -
registerResult
Record result against target type
-