public class ExtensionScopeHelper
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
protected static class |
ExtensionScopeHelper.IsResolvedKnownTypeParamHelper
Determines if a reference is fully resolved or uses only type parameters from the
current context.
|
| Constructor and Description |
|---|
ExtensionScopeHelper(LightweightTypeReference argumentType) |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
isMatchingFirstParameter(org.eclipse.xtext.common.types.JvmOperation feature) |
protected boolean |
isMatchingFirstParameterDeepCheck(org.eclipse.xtext.common.types.JvmOperation feature)
Check the type of the first parameter against the argument type rather
than the
rawArgumentType. |
protected boolean |
isPossibleExtension(org.eclipse.xtext.common.types.JvmFeature feature)
Features that are valid extensions are all
operations
with at least one parameter. |
protected boolean |
isResolvedOrKnownTypeParam(LightweightTypeReference type) |
protected boolean |
isResolvedReceiverType() |
public ExtensionScopeHelper(LightweightTypeReference argumentType)
protected boolean isPossibleExtension(org.eclipse.xtext.common.types.JvmFeature feature)
operations
with at least one parameter.protected boolean isResolvedReceiverType()
protected boolean isMatchingFirstParameterDeepCheck(org.eclipse.xtext.common.types.JvmOperation feature)
rawArgumentType. Should not be used during linking
since we need proper error messages there for type mismatches.protected boolean isMatchingFirstParameter(org.eclipse.xtext.common.types.JvmOperation feature)
protected boolean isResolvedOrKnownTypeParam(LightweightTypeReference type)