Watch this screencast to see how the JetBrains MPS plugin for IntelliJ IDEA can optimize tail-recursive Java methods and functions.
Note: You may also like to check out the Memoization for Java screencast.
The MPS BaseLanguage Extensions plugin can be downloaded through the IntelliJ IDEA Plugin Manager or directly from the Plugin Repository. The sources for the plugin are available at GitHub. We also prepared detailed instructions on how to enable MPS in IntelliJ IDEA.
»