Skip to main content

Eclipse Xtend 2.4 Adds Support for Android and Active Annotations

Ottawa, Canada – March 20, 2013 – The Eclipse Foundation has announced the release of Eclipse Xtend 2.4, a new statically-typed programming language that translates to readable Java source code. Xtend focusses on seamless and bidirectional interoperability with Java and runs on all Java VMs and Android’s Dalvik VM.

A number of new JVM based languages have been introduced into the Java ecosystem, such as Clojure, JRuby, Groovy, Scala, Xtend and others. Each new language aims to improve the language design and simplify the task of software development. Xtend provides a better Java language by adding language features such as lambdas, operator overloading, and extension methods that reduce the verbosity of the Java language. Unlike most other JVM languages, Xtend works seamlessly with Java, allowing developers to easily reuse existing Java libraries, frameworks, and tools.

The new features in the Xtend 2.4 release include

  • Support for writing Android applications. Android developers can now use Xtend to create efficient Android applications with less code than the normal Java language. Xtend works with the existing Android Development Kit so has minimal impact on the size of the final application.
  • Active Annotations. The new Active Annotation feature in Xtend builds upon Java annotations and makes it possible to participate in the translation process of Xtend source code to Java source code. Code patterns can now be formally implemented and automatically expanded during compilation, which significantly reduces the amount of boiler plate developers have to write, read, and maintain.
  • New language features. Xtend 2.4 introduces several new language features, including collection literals, extension variables, and support for declaring enums, interfaces, and regular annotations.
  • Improved tool support. The Xtend plugin for the Eclipse IDE has been improved, providing even better developer tooling support than other JVM languages. This new release includes organize imports, extract method refactoring, formatter, improved content assist, and more.

“Xtend 2.4 is a very significant release for the Xtend project,” said Sven Efftinge, project lead of Xtend. “We are particularly proud of the new Active Annotation feature since it solves many of the problems developers are working around with wizards and code generators today. We are also excited about reaching into the Android community to offer a new language for building Android applications.”

Eclipse Xtend 2.4 is now available for download. More details about the 2.4 release can be found in the release notes.

About the Eclipse Foundation

Eclipse is an open source community whose projects are focused on providing an extensible development platform and application frameworks for building software. Eclipse provides extensible tools and frameworks that span the software development lifecycle, including support for modeling, language development environments for Java, C/C++ and others, testing and performance, business intelligence, rich client applications and embedded development. A large, vibrant ecosystem of major technology vendors, innovative start-ups, universities and research institutions and individuals extend, complement and support the Eclipse Platform.

The Eclipse Foundation is a not-for-profit, member-supported corporation that hosts the Eclipse projects. Full details of Eclipse and the Eclipse Foundation are available at www.eclipse.org.

Related Links

Back to the top