public class Main2 {
public static void main(String[] args) throws Throwable {
ClassAgent agent = new AsmClassAgent();
agent.addInterceptor(MethodMatcherFactory.matcher(".*"), new MyMethodInterceptor());
Class<Aop1> classZ = agent.define(Nutzs.cd(), Aop1.class);
System.out.println(classZ);
Field[] fields = classZ.getDeclaredFields();
for (Field field : fields) {
System.out.println("找到一个Field: " + field);