Class EClassifierInfos
java.lang.Object
org.eclipse.xtext.xtext.ecoreInference.EClassifierInfos
A possible extension would be to normalize the type hierarchy and remove
redundant supertype references. We currently don't think thats necessary as
EMF handles multiple inheritance gracefully.
- Author:
- Jan Köhnlein - Initial contribution and API, Sebastian Zarnekow
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
addInfo
(AbstractMetamodelDeclaration alias, String name, EClassifierInfo metatypeInfo) boolean
addInfo
(TypeRef typeRef, EClassifierInfo metatypeInfo) void
addParent
(EClassifierInfos parent) getInfo
(org.eclipse.emf.ecore.EClassifier eClassifier) getInfo
(AbstractMetamodelDeclaration alias, String name) getInfoOrNull
(org.eclipse.emf.ecore.EClassifier eClassifier) getInfoOrNull
(TypeRef typeRef) getSuperTypeInfos
(EClassifierInfo.EClassInfo subTypeInfo)
-
Constructor Details
-
EClassifierInfos
-
-
Method Details
-
getParents
-
addParent
-
addInfo
-
addInfo
public boolean addInfo(AbstractMetamodelDeclaration alias, String name, EClassifierInfo metatypeInfo) -
getInfo
-
getInfoOrNull
-
getInfo
-
getInfo
-
getInfoOrNull
-
getCompatibleTypeOf
-
getAllEClassInfos
-
getSuperTypeInfos
public List<EClassifierInfo.EClassInfo> getSuperTypeInfos(EClassifierInfo.EClassInfo subTypeInfo) throws UnexpectedClassInfoException - Throws:
UnexpectedClassInfoException
-