Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public class a{
- public void otherMethod(){}
- public void doStuff(String str, InnerClass b){}
- pubic void method(a){
- doStuff("asd",
- new InnerClass(){
- public void innerMethod(){
- otherMethod();
- }
- }
- );
- }
- }
- OuterClassName.this.outerClassMethod();
Add Comment
Please, Sign In to add comment