|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.eclipse.xtext.common.types.util.TypeArgumentContextProvider org.eclipse.xtext.xtend2.typing.XtendTypeArgumentContextProvider
public class XtendTypeArgumentContextProvider
Xtend specific extension to the TypeArgumentContextProvider
that is aware
of the inferred jvm model
.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class org.eclipse.xtext.common.types.util.TypeArgumentContextProvider |
---|
TypeArgumentContextProvider.ResolveInfo |
Constructor Summary | |
---|---|
XtendTypeArgumentContextProvider()
|
Method Summary | |
---|---|
TypeArgumentContext |
getExplicitMethodInvocationContext(JvmTypeParameterDeclarator parameterDeclarator,
JvmTypeReference receiverType,
java.util.List<JvmTypeReference> typeArguments)
Creates a type argument context explicitly declared type arguments. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public XtendTypeArgumentContextProvider()
Method Detail |
---|
public TypeArgumentContext getExplicitMethodInvocationContext(JvmTypeParameterDeclarator parameterDeclarator, JvmTypeReference receiverType, java.util.List<JvmTypeReference> typeArguments)
Creates a type argument context explicitly declared type arguments.
This implementation uses the type parameters that are declared in the original
method instead of the inferred declarator
to match arguments
and type parameters.
This is due to the fact that the created TypeArgumentContext
considers the identity of the type parameters
.
getExplicitMethodInvocationContext
in class TypeArgumentContextProvider
parameterDeclarator
- the declarator whose parameters should be matched with the argumentsreceiverType
- the resolved type of the message receivertypeArguments
- the explicit type arguments of the sent message
null
.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |