📅  最后修改于: 2022-03-11 14:52:13.249000             🧑  作者: Mango
try {
ObjectType instance = getClass().getDeclaredField("name of var").get(ObjectType.class);
} catch (Exception e) {
e.printStackTrace();
}