org.eclipse.xtext.xbase.scoping.featurecalls
Class LazyJvmFeatureScope
java.lang.Object
org.eclipse.xtext.scoping.impl.AbstractScope
org.eclipse.xtext.scoping.impl.SimpleScope
org.eclipse.xtext.xbase.scoping.featurecalls.JvmFeatureScope
org.eclipse.xtext.xbase.scoping.featurecalls.LazyJvmFeatureScope
- All Implemented Interfaces:
- IScope
public class LazyJvmFeatureScope
- extends JvmFeatureScope
Internal scope implementation for Xbase feature scopes. Clients should not use this directly.
- Author:
- Sebastian Zarnekow - Initial contribution and API
- See Also:
FilteredDelegatingScope
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
LazyJvmFeatureScope
protected LazyJvmFeatureScope(java.lang.String scopeDescription,
LazyJvmFeatureScopeStrategy strategy)
getLocalElementsByName
protected java.util.List<IEObjectDescription> getLocalElementsByName(QualifiedName name)
- Overrides:
getLocalElementsByName
in class AbstractScope
getAllLocalElements
protected java.lang.Iterable<IEObjectDescription> getAllLocalElements()
- Overrides:
getAllLocalElements
in class SimpleScope
getElements
public java.util.List<IEObjectDescription> getElements(QualifiedName name)
- Description copied from interface:
IScope
- Find all descriptions that match the given name.
- Specified by:
getElements
in interface IScope
- Overrides:
getElements
in class AbstractScope
- Parameters:
name
- the name of the to-be-found elements. May not be null
.
- Returns:
- all elements that match the
name
. Never null
.
getElements
public java.lang.Iterable<IEObjectDescription> getElements(org.eclipse.emf.ecore.EObject object)
- Description copied from interface:
IScope
- Find all descriptions that match the given instance.
- Specified by:
getElements
in interface IScope
- Overrides:
getElements
in class AbstractScope
- Parameters:
object
- the instance whose descriptions should be obtained. May not be null
.
- Returns:
- all elements that match the
instance
. Never null
.