Generate warning for this code?
Compiler not generate any warning, code analysis not detect this unreasonable code:
final class MainFrame extends JFrame {
private static final Class CLASS = MainFrame.CLASS;
...there is a code which uses filed "CLASS"...
}
-- likeapear
请先登录再写评论。