public class ReceiverFeatureScope extends AbstractSessionBasedExecutableScope implements IVisibilityHelper
AbstractSessionBasedScope.NameAcceptor
AbstractScope.ParentIterable
ALL
Modifier | Constructor and Description |
---|---|
protected |
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 IEObjectDescription |
createDescription(QualifiedName name,
JvmFeature feature,
TypeBucket bucket) |
protected java.util.List<JvmFeature> |
findAllFeaturesByName(JvmType type,
java.lang.String simpleName,
IResolvedFeatures.Provider resolvedFeaturesProvider) |
protected java.util.List<IEObjectDescription> |
getAllLocalElements() |
protected java.util.List<IEObjectDescription> |
getLocalElementsByName(QualifiedName name) |
protected java.util.Map<JvmTypeParameter,LightweightMergedBoundTypeArgument> |
getReceiverTypeParameterMapping() |
boolean |
isVisible(JvmMember member)
Returns
true if the member is visible according to the JvmVisibility and the local context. |
getOperatorMapping, processFeatureNames
getElements, getFeatureCall, getLocalElementsByEObject, getSession, getShadowingKey, isShadowed, processAsPropertyNames, toProperty, tryGetAsPropertyName
getAllElements, getElements, getParent, getParentElements, getSingleElement, getSingleElement, getSingleLocalElementByName, isIgnoreCase, toString
protected 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)
IVisibilityHelper
true
if the member is visible according to the JvmVisibility
and the local context.isVisible
in interface IVisibilityHelper
member
- the member that shall be accessed.true
if the feature can be accessed.protected java.util.List<IEObjectDescription> getLocalElementsByName(QualifiedName name)
getLocalElementsByName
in class AbstractSessionBasedScope
protected java.util.List<JvmFeature> findAllFeaturesByName(JvmType type, java.lang.String simpleName, IResolvedFeatures.Provider resolvedFeaturesProvider)
findAllFeaturesByName
in class AbstractSessionBasedScope
protected IEObjectDescription createDescription(QualifiedName name, JvmFeature feature, TypeBucket bucket)
protected java.util.Map<JvmTypeParameter,LightweightMergedBoundTypeArgument> getReceiverTypeParameterMapping()
protected java.util.List<IEObjectDescription> getAllLocalElements()
getAllLocalElements
in class AbstractSessionBasedScope