eclipse3.7 SR1 で正式に Java7 への対応がアナウンスされました。
Eclipse Announces Full Support for Java 7
主な変更点は、コンパイラと主要なツール(コンテンツアシスト、クイックフィックスなど)の Project Coin への対応、とのこと。
これでやっと、慣れたいつもの環境でJava7の開発ができます!
Eclipse Downloads
The new Eclipse JDT release will include the following for Java 7 support:
- Eclipse compiler implements all the new Java 7 language enhancements.
- Significant features, like Search and Refactoring, have been updated to support Java 7.
- Content Assist can insert the diamond and Quick Assist allows to insert the inferred type arguments.
- Quick Assists and Quick Fixes are added for the multi-catch statement.
- Detection of unhandled exceptions thrown by automatic close().
- Quick Fixes to add and remove @SafeVarargs.
- Quick Assist to convert 'switch' to 'if-else'.
See What's New for Java 7 for the complete feature list.
新しい eclipse JDT のリリースでは、以下のJava7のサポートが含まれます。
- eclipseのコンパイラは、すべての新しい Java7 の拡張機能を実装しています。
- 検索とリファクタリングのような重要な機能は、Java7 をサポートするように更新されています。
- コンテンツアシストは、ダイヤモンドを挿入することができますし、クイックアシストでは、推論された型の引数を挿入することができます。
- クイックアシスト、クイックフィックスは、複数のcatchステートメントを追加することができます。
- (try-with-resourcesによる)close メソッドによってスローされる未処理の例外を検出することができます*1。
- クイックフィックスでは、@SafeVarargsを追加および削除することができます。
- クイックアシスタントでは、if - elseとswitchを変換することができます。
完全な機能のリストについては、Java 7の新機能を参照してください。
Eclipse Announces Full Support for Java 7 | The Eclipse Foundation
*1:クイックフィックスの機能を指しているようです。try-with-resources - New for Java 7