📄 t6245591.java
字号:
/* * @test /nodynamiccopyright/ * @bug 6245591 * @compile/ref=T6245591.out -XDstdout -XDrawDiagnostics -Xlint:all,-path T6245591.java */enum Season { /** @deprecated */ WINTER, SPRING, SUMMER, FALL;}enum Season1 { WINTER, SPRING, SUMMER, FALL;}class T6245591 { void m() { Season s1 = Season.WINTER; // ref to WINTER should be deprecated Season1 s2 = Season1.WINTER; // nothing here should be deprecated; // @deprecated should not leak out of Season }}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -