Class StaticFeatureScope

  • All Implemented Interfaces:
    org.eclipse.xtext.scoping.IScope
    Direct Known Subclasses:
    StaticFeatureOnTypeLiteralScope

    public class StaticFeatureScope
    extends AbstractStaticOrInstanceFeatureScope
    A scope that contains static features. The features may be obtained implicitly from a given type (receiver is null), or the features may be obtained from an instance which would render them invalidly accessed.
    • Method Detail

      • getLocalElementsByName

        protected java.util.List<org.eclipse.xtext.resource.IEObjectDescription> getLocalElementsByName​(org.eclipse.xtext.naming.QualifiedName name)
        Specified by:
        getLocalElementsByName in class AbstractSessionBasedScope
      • addDescription

        protected void addDescription​(org.eclipse.xtext.naming.QualifiedName name,
                                      org.eclipse.xtext.common.types.JvmFeature feature,
                                      java.util.List<org.eclipse.xtext.resource.IEObjectDescription> result)
        Specified by:
        addDescription in class AbstractStaticOrInstanceFeatureScope
      • createDescription

        protected org.eclipse.xtext.resource.IEObjectDescription createDescription​(org.eclipse.xtext.naming.QualifiedName name,
                                                                                   org.eclipse.xtext.common.types.JvmFeature feature,
                                                                                   TypeBucket bucket)
      • createInstanceDescription

        protected org.eclipse.xtext.resource.IEObjectDescription createInstanceDescription​(org.eclipse.xtext.naming.QualifiedName name,
                                                                                           org.eclipse.xtext.common.types.JvmFeature feature,
                                                                                           TypeBucket bucket)