public class ReceiverFeatureScope extends AbstractStaticOrInstanceFeatureScope implements IVisibilityHelper
AbstractSessionBasedScope.NameAcceptorAbstractScope.ParentIterableALL| Constructor and Description |
|---|
ReceiverFeatureScope(IScope parent,
IFeatureScopeSession session,
XExpression receiver,
LightweightTypeReference receiverType,
boolean implicit,
XAbstractFeatureCall featureCall,
TypeBucket bucket,
JvmIdentifiableElement receiverFeature,
OperatorMapping operatorMapping,
boolean validStaticState) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addDescription(QualifiedName name,
JvmFeature feature,
List<IEObjectDescription> result) |
protected IEObjectDescription |
createDescription(QualifiedName name,
JvmFeature feature,
TypeBucket bucket) |
protected List<JvmFeature> |
findAllFeaturesByName(JvmType type,
String simpleName,
IResolvedFeatures.Provider resolvedFeaturesProvider) |
protected List<IEObjectDescription> |
getAllLocalElements() |
protected List<IEObjectDescription> |
getLocalElementsByName(QualifiedName name) |
protected Map<JvmTypeParameter,LightweightMergedBoundTypeArgument> |
getReceiverTypeParameterMapping() |
boolean |
isVisible(JvmMember member)
Returns
true if the member is visible according to the JvmVisibility and the local context. |
addDescriptionsgetOperatorMapping, processFeatureNamesaddToList, addToList, getElements, getFeatureCall, getLocalElementsByEObject, getSession, getShadowingKey, isShadowed, processAsPropertyNames, toProperty, toProperty, tryGetAsPropertyNamegetAllElements, getElements, getParent, getParentElements, getSingleElement, getSingleElement, getSingleLocalElementByName, isIgnoreCase, toStringpublic ReceiverFeatureScope(IScope parent, IFeatureScopeSession session, XExpression receiver, LightweightTypeReference receiverType, boolean implicit, XAbstractFeatureCall featureCall, TypeBucket bucket, JvmIdentifiableElement receiverFeature, OperatorMapping operatorMapping, boolean validStaticState)
public boolean isVisible(JvmMember member)
IVisibilityHelpertrue if the member is visible according to the JvmVisibility and the local context.isVisible in interface IVisibilityHelpermember - the member that shall be accessed.true if the feature can be accessed.protected List<IEObjectDescription> getLocalElementsByName(QualifiedName name)
getLocalElementsByName in class AbstractSessionBasedScopeprotected List<JvmFeature> findAllFeaturesByName(JvmType type, String simpleName, IResolvedFeatures.Provider resolvedFeaturesProvider)
findAllFeaturesByName in class AbstractSessionBasedScopeprotected IEObjectDescription createDescription(QualifiedName name, JvmFeature feature, TypeBucket bucket)
protected Map<JvmTypeParameter,LightweightMergedBoundTypeArgument> getReceiverTypeParameterMapping()
protected List<IEObjectDescription> getAllLocalElements()
getAllLocalElements in class AbstractSessionBasedScopeprotected void addDescription(QualifiedName name, JvmFeature feature, List<IEObjectDescription> result)
addDescription in class AbstractStaticOrInstanceFeatureScopeCopyright © 2015. All Rights Reserved.