public class ExtensionScopeHelper extends 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(JvmOperation feature) |
protected boolean |
isMatchingFirstParameterDeepCheck(JvmOperation feature)
Check the type of the first parameter against the argument type rather
than the
rawArgumentType. |
protected boolean |
isPossibleExtension(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(JvmFeature feature)
operations
with at least one parameter.protected boolean isResolvedReceiverType()
protected boolean isMatchingFirstParameterDeepCheck(JvmOperation feature)
rawArgumentType. Should not be used during linking
since we need proper error messages there for type mismatches.protected boolean isMatchingFirstParameter(JvmOperation feature)
protected boolean isResolvedOrKnownTypeParam(LightweightTypeReference type)
Copyright © 2015. All Rights Reserved.