public class KnownTypesScope extends AbstractKnownTypesScope
Constructor and Description |
---|
KnownTypesScope(java.util.List<? extends JvmType> types,
AbstractXcoreScope parent) |
Modifier and Type | Method and Description |
---|---|
protected void |
doGetDescriptions(JvmType type,
JvmType knownType,
int index,
java.util.List<IEObjectDescription> result) |
protected void |
doGetElements(JvmType type,
java.util.List<IEObjectDescription> result) |
protected IEObjectDescription |
doGetSingleElement(QualifiedName name,
java.lang.String firstSegment,
int dollarIndex) |
protected JvmType |
getExactMatch(JvmType type,
int index,
QualifiedName qualifiedName) |
protected boolean |
isMatch(int index,
JvmType type,
java.lang.String simpleName,
QualifiedName relativeName) |
protected IEObjectDescription |
toDescription(QualifiedName name,
JvmType result,
int dollarIndex,
int index) |
doGetSingleElement, findNestedType, getElements, getSingleElement, getUnambiguousResult
getAllElements
public KnownTypesScope(java.util.List<? extends JvmType> types, AbstractXcoreScope parent)
protected void doGetElements(JvmType type, java.util.List<IEObjectDescription> result)
doGetElements
in class AbstractKnownTypesScope
protected IEObjectDescription doGetSingleElement(QualifiedName name, java.lang.String firstSegment, int dollarIndex)
doGetSingleElement
in class AbstractKnownTypesScope
protected IEObjectDescription toDescription(QualifiedName name, JvmType result, int dollarIndex, int index)
toDescription
in class AbstractKnownTypesScope
protected JvmType getExactMatch(JvmType type, int index, QualifiedName qualifiedName)
protected boolean isMatch(int index, JvmType type, java.lang.String simpleName, QualifiedName relativeName)
protected void doGetDescriptions(JvmType type, JvmType knownType, int index, java.util.List<IEObjectDescription> result)
doGetDescriptions
in class AbstractKnownTypesScope