Eclipse Juno - 为什么没有对未使用的带注释的私有字段发出警告?

Vla*_*hin 10 java eclipse eclipse-juno

在以前版本的Eclipse中,这很好用.

在错误/警告我检查"Unused private field" -> Warning.但它似乎没有用.

例如:

public class Main {
    @Resource
    private int a; //I see no warning here
}
Run Code Online (Sandbox Code Playgroud)