How can I implement Serializable in a class in BaseLanguage?
What I did so far:
module.JDK@project_stub
as Dependencyjetbrains.mps.baseLanguage
as Used Languageimplements
in editor.The editor now shows a list of available interfaces from java.lang
namespace, like Clonable
, Comparable
and so on. However, there is no Serializable
. The same behavior emerges when I try to implement Serializable
in a Generator.
Is this a bug or am I missing something?
You perhaps did not import the java.io@java_stub model to your dependencies. Control + M while in the editor will do the job.
Vaclav