Class ConstructorDelegateScope
- java.lang.Object
-
- org.eclipse.xtext.scoping.impl.AbstractScope
-
- org.eclipse.xtext.xbase.scoping.batch.AbstractSessionBasedScope
-
- org.eclipse.xtext.xbase.scoping.batch.ConstructorDelegateScope
-
- All Implemented Interfaces:
org.eclipse.xtext.scoping.IScope,IFeatureNames
public class ConstructorDelegateScope extends AbstractSessionBasedScope implements IFeatureNames
A constructor delegate scope provides the descriptions forthis()andsuper()calls in a constructor body.
-
-
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 ConstructorDelegateScope(org.eclipse.xtext.scoping.IScope parent, LightweightTypeReference contextType, IFeatureScopeSession session, XAbstractFeatureCall featureCall)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected java.util.List<org.eclipse.xtext.resource.IEObjectDescription>createConstructorDescriptions(org.eclipse.xtext.naming.QualifiedName name, org.eclipse.xtext.common.types.JvmGenericType type, boolean superType)protected org.eclipse.xtext.resource.IEObjectDescriptioncreateDescription(org.eclipse.xtext.naming.QualifiedName name, org.eclipse.xtext.common.types.JvmConstructor constructor, boolean superType)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 java.util.Map<org.eclipse.xtext.common.types.JvmTypeParameter,LightweightMergedBoundTypeArgument>getReceiverTypeParameterMapping()-
Methods inherited from class org.eclipse.xtext.xbase.scoping.batch.AbstractSessionBasedScope
addToList, addToList, findAllFeaturesByName, getElements, getFeatureCall, getLocalElementsByEObject, getSession, getShadowingKey, isShadowed, processAsPropertyNames, processFeatureNames, toProperty, toProperty, tryGetAsPropertyName
-
-
-
-
Constructor Detail
-
ConstructorDelegateScope
public ConstructorDelegateScope(org.eclipse.xtext.scoping.IScope parent, LightweightTypeReference contextType, IFeatureScopeSession session, XAbstractFeatureCall featureCall)
-
-
Method Detail
-
getAllLocalElements
protected java.util.List<org.eclipse.xtext.resource.IEObjectDescription> getAllLocalElements()
- Specified by:
getAllLocalElementsin classAbstractSessionBasedScope
-
getLocalElementsByName
protected java.util.List<org.eclipse.xtext.resource.IEObjectDescription> getLocalElementsByName(org.eclipse.xtext.naming.QualifiedName name)
- Specified by:
getLocalElementsByNamein classAbstractSessionBasedScope
-
getReceiverTypeParameterMapping
protected java.util.Map<org.eclipse.xtext.common.types.JvmTypeParameter,LightweightMergedBoundTypeArgument> getReceiverTypeParameterMapping()
-
createConstructorDescriptions
protected java.util.List<org.eclipse.xtext.resource.IEObjectDescription> createConstructorDescriptions(org.eclipse.xtext.naming.QualifiedName name, org.eclipse.xtext.common.types.JvmGenericType type, boolean superType)
-
createDescription
protected org.eclipse.xtext.resource.IEObjectDescription createDescription(org.eclipse.xtext.naming.QualifiedName name, org.eclipse.xtext.common.types.JvmConstructor constructor, boolean superType)
-
-