
Ant debugger call stack and properties
The Ant debugger presents the dependency call stack for any target.
- System: Ant properties set from the System for the the build
- User: properties such as those set using the -D option
- Runtime: all properties set during the execution of the build
Ant target per build kind
The Targets tab for an Ant builder allows you to specify the target(s) that should be executed for each build kind. This includes the target to execute when you invoke a "Clean".

Part 3
JDT
Boxing/unboxing diagnosis
The J2SE 5.0 autoboxing capability is powerful but it can lead to unexpected behavior especially when passing arguments. The compiler introduces an optional diagnosis that indicates when autoboxing or autounboxing is performed. In the following example, one might think thatfoo(Integer) would be called, but since autounboxing is performed, foo(int) is called.

Assignment with no effect diagnosis for postfix expression
The optional diagnosis for assignment with no effect now detects the case where a postfix expression is assigned to the same variable, e.g. i = i ;
Searching generic methods and constructors
The Java search engine now finds references to, and declarations of, generic and parameterized methods.
Searching type parameters
The Java search engine now finds references to, and declarations of, type parameters in generic types and methods.
Source Actions
The source actions available in the Source context menu now support all the features of J2SE 5.0:- Override/Implement Methods supports generics and varargs in method declarations
- Generate Getters and Setters works on fields of generic type as well
- Generate Delegate Methods has support for generics and varargs, and handles methods from types occurring in type bounds as well
- Add Constructors from Superclass offers support for generics
- Generate Constructor using Fields offers support for generics

(More details on JDT UI's and JDT Text's Java 5.0 status for 3.1 M5 is available here.)
Change Signature and other refactorings are J2SE5-aware
Many refactorings have been improved to handle new J2SE 5.0 language features. For example, Change Method Signature now allows editing methods whose parameters are parameterized types:

Other refactorings that have been updated include Rename, Inline Constant, Inline and Extract Method, Generalize Type, and Introduce Factory.
Extract Interface refactoring
The extract interface refactoring has been rewritten in order to provide full support for J2SE 5.0 and to better respect code style preferences. New features include:- Support for generic types and varargs of J2SE 5.0
- Full rewriting of existing method comments
- Full use of code templates during code generation

Static import groups

The 'others' group feature is also available for non-static imports.
New quick fixes
文章整理:西部数码--专业提供域名注册、虚拟主机服务
http://www.west263.com
以上信息与文章正文是不可分割的一部分,如果您要转载本文章,请保留以上信息,谢谢!




