Schnittstelle Invocation
- Alle Superschnittstellen:
InvocationSite
- Alle bekannten Implementierungsklassen:
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
-
Verschachtelte Klassen - Übersicht
Von Schnittstelle geerbte verschachtelte Klassen/Schnittstellen org.aspectj.org.eclipse.jdt.internal.compiler.lookup.InvocationSite
InvocationSite.EmptyWithAstNode
-
Methodenübersicht
Modifizierer und TypMethodeBeschreibungbinding()
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 typeVon Schnittstelle geerbte Methoden 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
-
Methodendetails
-
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.- Parameter:
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
-