Skip to content

Stubs

Stubs are Java libraries that can be used from MPS.

Some of the mentioned stubs on this page only exist in older versions of MPS-Extensions. They are now most likely located in the MPS.ThirdParty stub.

Apache Commons

This module contains stubs for the Apache Commons Java library and MigLayout. The following libraries are included:

Collections

The following Java collection libraries are supported:

Jackson

This stub contains the Java libraries for the Jackson JSON parser.

JDOM

This module contains the following libraries:

  • JDOM XML manipulation library
  • jaxen Jaxen XPath Engine library

Apache Batik

JCEF

This module (com.jetbrains.mpsext.stubs.jcef) contains stubs for the JCEF classes of the IntelliJ Platform (com.intellij.ui.jcef, for example JBCefBrowser), for which MPS has no stubs of its own (MPS-40100). The stubs are read from plugins/jcef-plugin/lib/modules/intellij.platform.ui.jcef.jar of the MPS installation, so the jcef-plugin must be present there. The module ships no JAR of its own.

A build script of a project whose modules depend on this module needs a dependency on the external layout jcef-plugin (declared in de.itemis.mps.extensions.build) with the artifacts location $mps.home, similar to the usual IDEA layout dependency. Without it, generating the build script fails with path ... was not found in the layout.

Xerces

  • xerces XML parsers
  • xml-apis-ext Apache-hosted set of DOM, SAX, and JAXP interfaces for use in xml-based projects