public class ConstructorScopes extends DelegatingScopes
Modifier and Type | Field and Description |
---|---|
static int |
CONSTRUCTOR_BUCKET |
Constructor and Description |
---|
ConstructorScopes() |
Modifier and Type | Method and Description |
---|---|
IScope |
createConstructorScope(org.eclipse.emf.ecore.EObject context,
org.eclipse.emf.ecore.EReference reference,
IFeatureScopeSession session,
IResolvedTypes resolvedTypes)
Creates the constructor scope for
XConstructorCall . |
boolean |
isConstructorCallScope(org.eclipse.emf.ecore.EReference reference) |
getDelegate
public static final int CONSTRUCTOR_BUCKET
public IScope createConstructorScope(org.eclipse.emf.ecore.EObject context, org.eclipse.emf.ecore.EReference reference, IFeatureScopeSession session, IResolvedTypes resolvedTypes)
XConstructorCall
.
The scope will likely contain descriptions for constructors
.
If there is not constructor declared, it may contain types
.session
- the currently available visibilityHelper datareference
- the reference that will hold the resolved constructorresolvedTypes
- the currently known resolved typespublic boolean isConstructorCallScope(org.eclipse.emf.ecore.EReference reference)