Java開発に関する新機能 ここ数年、EclipseはJava関連の機能については地味なアップデートが続いているが、Keplerでも同様で、クイックフィックスやコンパイラオプションの追加、コードアシストの強化などが中心だ。大きな新機能としてはWTPのMavenサポートの統合、JavaEE7への対応が挙げられる。今回はこれらJDTおよびJavaEEに関する新機能について詳しく見ていきたい。 JDTの新機能 JDTでは、if~else文をswitch文に変換するクイックフィックスをはじめ、いくつかの便利なクイックフィックスが追加されている。また、メソッドのコード補完時にvoidメソッドの呼び出しには自動的に「;」が挿入されるなど普通に使っているだけでは気づかないような部分まで使い勝手の改善が行われている。 リソースのクローズ漏れを検出するチェック機能では、これまではCommons IOなどのラ