首页| JavaScript| HTML/CSS| Matlab| PHP| Python| Java| C/C++/VC++| C#| ASP| 其他|
购买积分 购买会员 激活码充值

您现在的位置是:虫虫源码 > 其他 > 基于CGLIB访问任何私有类成员图书馆

基于CGLIB访问任何私有类成员图书馆

资 源 简 介

Using this library you are able to access any private properties/methods in any classes or objects only in few lines of code. Usage sample: public class MyClass { private String prefix; private void test(String x) { System.out.println(prefix + " " + x); } private static String stPrefix; private static String getMessage(String message) { return stPrefix + message; } } public interface OpenMethod { void test(String x); } public interface OpenField { void setPrefix(String prefix); String getPrefix(); } public interface StOpenMethod { String getMessage(String message) } public interface StOpenField { void setStPrefix(String prefix); String getStPrefix(); }
VIP VIP
0.171617s