Class LegacyKnownTypesScope

  • All Implemented Interfaces:
    org.eclipse.xtext.scoping.IScope

    public class LegacyKnownTypesScope
    extends KnownTypesScope
    • Field Summary

      • Fields inherited from interface org.eclipse.xtext.scoping.IScope

        NULLSCOPE
    • Constructor Summary

      Constructors 
      Constructor Description
      LegacyKnownTypesScope​(java.util.List<org.eclipse.xtext.common.types.JvmType> types, java.util.List<org.eclipse.xtext.naming.QualifiedName> importNames, AbstractScope parent)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected void doGetDescriptions​(org.eclipse.xtext.common.types.JvmType type, org.eclipse.xtext.common.types.JvmType knownType, int index, java.util.List<org.eclipse.xtext.resource.IEObjectDescription> result)  
      protected org.eclipse.xtext.common.types.JvmType findNestedType​(org.eclipse.xtext.common.types.JvmType result, int index, org.eclipse.xtext.naming.QualifiedName name)  
      protected org.eclipse.xtext.common.types.JvmType getUnambiguousResult​(org.eclipse.xtext.common.types.JvmType current, int currentIndex, org.eclipse.xtext.common.types.JvmType next, int nextIndex, org.eclipse.xtext.naming.QualifiedName relativeName)  
      protected boolean isLegacyMatch​(int index, org.eclipse.xtext.naming.QualifiedName relativeName)  
      protected boolean isMatch​(int index, org.eclipse.xtext.common.types.JvmType type, java.lang.String simpleName, org.eclipse.xtext.naming.QualifiedName relativeName)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • LegacyKnownTypesScope

        public LegacyKnownTypesScope​(java.util.List<org.eclipse.xtext.common.types.JvmType> types,
                                     java.util.List<org.eclipse.xtext.naming.QualifiedName> importNames,
                                     AbstractScope parent)
    • Method Detail

      • isMatch

        protected boolean isMatch​(int index,
                                  org.eclipse.xtext.common.types.JvmType type,
                                  java.lang.String simpleName,
                                  org.eclipse.xtext.naming.QualifiedName relativeName)
        Overrides:
        isMatch in class KnownTypesScope
      • isLegacyMatch

        protected boolean isLegacyMatch​(int index,
                                        org.eclipse.xtext.naming.QualifiedName relativeName)
      • getUnambiguousResult

        protected org.eclipse.xtext.common.types.JvmType getUnambiguousResult​(org.eclipse.xtext.common.types.JvmType current,
                                                                              int currentIndex,
                                                                              org.eclipse.xtext.common.types.JvmType next,
                                                                              int nextIndex,
                                                                              org.eclipse.xtext.naming.QualifiedName relativeName)
        Overrides:
        getUnambiguousResult in class AbstractKnownTypesScope
      • doGetDescriptions

        protected void doGetDescriptions​(org.eclipse.xtext.common.types.JvmType type,
                                         org.eclipse.xtext.common.types.JvmType knownType,
                                         int index,
                                         java.util.List<org.eclipse.xtext.resource.IEObjectDescription> result)
        Overrides:
        doGetDescriptions in class KnownTypesScope
      • findNestedType

        protected org.eclipse.xtext.common.types.JvmType findNestedType​(org.eclipse.xtext.common.types.JvmType result,
                                                                        int index,
                                                                        org.eclipse.xtext.naming.QualifiedName name)
        Overrides:
        findNestedType in class AbstractKnownTypesScope