Class StaticFeatureOnTypeLiteralScope
- java.lang.Object
-
- org.eclipse.xtext.scoping.impl.AbstractScope
-
- org.eclipse.xtext.xbase.scoping.batch.AbstractSessionBasedScope
-
- org.eclipse.xtext.xbase.scoping.batch.AbstractSessionBasedExecutableScope
-
- org.eclipse.xtext.xbase.scoping.batch.AbstractStaticOrInstanceFeatureScope
-
- org.eclipse.xtext.xbase.scoping.batch.StaticFeatureScope
-
- org.eclipse.xtext.xbase.scoping.batch.StaticFeatureOnTypeLiteralScope
-
- All Implemented Interfaces:
org.eclipse.xtext.scoping.IScope,IFeatureNames
public class StaticFeatureOnTypeLiteralScope extends StaticFeatureScope implements IFeatureNames
A scope for the static features that are exposed by a type that was used, e.g.java.lang.String.valueOf(1)wherevalueOf(1)is to be linked. This scope includes qualified references tothisandsuper.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.eclipse.xtext.xbase.scoping.batch.AbstractSessionBasedScope
AbstractSessionBasedScope.NameAcceptor
-
-
Field Summary
-
Fields inherited from interface org.eclipse.xtext.xbase.scoping.batch.IFeatureNames
IT, SELF, SUPER, THIS
-
-
Constructor Summary
Constructors Constructor Description StaticFeatureOnTypeLiteralScope(org.eclipse.xtext.scoping.IScope parent, IFeatureScopeSession session, XAbstractFeatureCall featureCall, XExpression receiver, LightweightTypeReference receiverType, TypeBucket bucket, OperatorMapping operatorMapping)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected org.eclipse.xtext.resource.IEObjectDescriptioncreateDescription(org.eclipse.xtext.naming.QualifiedName name, org.eclipse.xtext.common.types.JvmFeature feature, TypeBucket bucket)protected java.util.List<org.eclipse.xtext.resource.IEObjectDescription>getAllLocalElements()protected java.util.List<org.eclipse.xtext.resource.IEObjectDescription>getLocalElementsByName(org.eclipse.xtext.naming.QualifiedName name)protected org.eclipse.xtext.common.types.JvmTypegetTypeLiteral()-
Methods inherited from class org.eclipse.xtext.xbase.scoping.batch.StaticFeatureScope
addDescription, createInstanceDescription, getBucket, getReceiver, getReceiverType
-
Methods inherited from class org.eclipse.xtext.xbase.scoping.batch.AbstractStaticOrInstanceFeatureScope
addDescriptions
-
Methods inherited from class org.eclipse.xtext.xbase.scoping.batch.AbstractSessionBasedExecutableScope
getOperatorMapping, processFeatureNames
-
Methods inherited from class org.eclipse.xtext.xbase.scoping.batch.AbstractSessionBasedScope
addToList, addToList, findAllFeaturesByName, getElements, getFeatureCall, getLocalElementsByEObject, getSession, getShadowingKey, isShadowed, processAsPropertyNames, toProperty, toProperty, tryGetAsPropertyName
-
-
-
-
Constructor Detail
-
StaticFeatureOnTypeLiteralScope
public StaticFeatureOnTypeLiteralScope(org.eclipse.xtext.scoping.IScope parent, IFeatureScopeSession session, XAbstractFeatureCall featureCall, XExpression receiver, LightweightTypeReference receiverType, TypeBucket bucket, OperatorMapping operatorMapping)
-
-
Method Detail
-
createDescription
protected org.eclipse.xtext.resource.IEObjectDescription createDescription(org.eclipse.xtext.naming.QualifiedName name, org.eclipse.xtext.common.types.JvmFeature feature, TypeBucket bucket)- Overrides:
createDescriptionin classStaticFeatureScope
-
getLocalElementsByName
protected java.util.List<org.eclipse.xtext.resource.IEObjectDescription> getLocalElementsByName(org.eclipse.xtext.naming.QualifiedName name)
- Overrides:
getLocalElementsByNamein classStaticFeatureScope
-
getAllLocalElements
protected java.util.List<org.eclipse.xtext.resource.IEObjectDescription> getAllLocalElements()
- Overrides:
getAllLocalElementsin classStaticFeatureScope
-
getTypeLiteral
protected org.eclipse.xtext.common.types.JvmType getTypeLiteral()
-
-