?? keepinline.java
字號:
// Demonstrate that private methods can be reflected even if they are// not referenced at compile-time (i.e. -fkeep-inline-functions works).import java.lang.reflect.Method;public class KeepInline { private void example() { System.out.println("example"); } public static void main(String[] args) { try { KeepInline pr = new KeepInline(); Method[] meths = pr.getClass().getDeclaredMethods(); for (int n = 0; n < meths.length; n++) System.out.println(meths[n]); } catch (Throwable t) { t.printStackTrace(); } }}
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -