我有
public class SecondClass{
MainClass main;
public SecondClass(MainClass main){
this.main=main;
}
....
}
并且在 MainClass(.class 文件)中有aMethod
public class MainClass(){
public void aMethod(){
//I want to insert
//SecondClass sc = new SecondClass(this);
}
}
如何使用 Apache BCEL 做到这一点?非常感谢!