Interface SConcept
-
- All Superinterfaces:
SAbstractConcept
,SElement
,SNamedElement
public interface SConcept extends SAbstractConcept
Represents a concept
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description SConcept
getSuperConcept()
XXX why not BaseConcept (at least in case of concept declaration, not interface) - the only case when we care is extends of BaseConcept itself (implementation returns null in that case).Iterable<SInterfaceConcept>
getSuperInterfaces()
Returns directly implemented (in case of concept declaration) or extended (in case of interface concept declaration) interfaces.boolean
isRootable()
-
Methods inherited from interface org.jetbrains.mps.openapi.language.SAbstractConcept
getConceptAlias, getContainmentLinks, getDeclarationNode, getHelpUrl, getLanguage, getName, getProperties, getQualifiedName, getReferenceLinks, getShortDescription, getSourceNode, isAbstract, isSubConceptOf, isValid
-
-
-
-
Method Detail
-
getSuperConcept
@Nullable SConcept getSuperConcept()
Description copied from interface:SAbstractConcept
XXX why not BaseConcept (at least in case of concept declaration, not interface) - the only case when we care is extends of BaseConcept itself (implementation returns null in that case). Can we handle it without forcing nullable?- Specified by:
getSuperConcept
in interfaceSAbstractConcept
- Returns:
- extended concept, if present; always
null
for interface concept declarations, as well as for BaseConcept
-
getSuperInterfaces
Iterable<SInterfaceConcept> getSuperInterfaces()
Description copied from interface:SAbstractConcept
Returns directly implemented (in case of concept declaration) or extended (in case of interface concept declaration) interfaces.- Specified by:
getSuperInterfaces
in interfaceSAbstractConcept
-
isRootable
boolean isRootable()
-
-