Package org.eclipse.xtend.core.scoping
Class LegacyKnownTypesScope
- java.lang.Object
-
- org.eclipse.xtend.core.scoping.AbstractScope
-
- org.eclipse.xtend.core.scoping.AbstractKnownTypesScope
-
- org.eclipse.xtend.core.scoping.KnownTypesScope
-
- org.eclipse.xtend.core.scoping.LegacyKnownTypesScope
-
- All Implemented Interfaces:
org.eclipse.xtext.scoping.IScope
public class LegacyKnownTypesScope extends KnownTypesScope
-
-
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 org.eclipse.xtend.core.scoping.KnownTypesScope
doGetElements, doGetSingleElement, getExactMatch, toDescription
-
Methods inherited from class org.eclipse.xtend.core.scoping.AbstractKnownTypesScope
doGetSingleElement, getElements, getSingleElement
-
Methods inherited from class org.eclipse.xtend.core.scoping.AbstractScope
getAllElements, getElements, getSingleElement
-
-
-
-
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 classKnownTypesScope
-
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 classAbstractKnownTypesScope
-
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 classKnownTypesScope
-
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 classAbstractKnownTypesScope
-
-