Class SNodeAccessUtil


  • public abstract class SNodeAccessUtil
    extends Object
    Access to node "properties" using getters and setters declared in MPS. This class is in openAPI for MPS to be able to generate openAPI code for smodel language queries. It's implementation is not in openAPI since we don't want a dependency openAPI->kernel, but still want to access ConstraintsManager, which is not in openAPI yet. Though the class looks like a util-class for outer user, it is really contributed by code in MPSCore instantiating it's impl class, which sets myInstance field. This is a temporary solution - this class should be implemented as a pure util class on the top of openAPI as soon as LanguageRegistry (or something similar) will be an openAPI class.