in situation of non-static,if i am in inside of an instance of inner class, how can get "this" of outer class?
class OuterOne{
int i2 = 0;
class InnerOne{
int i = 0;
void amethod(){
System.out.print("i of InnerOne = "+i);
System.out.print("i2 of OuterOne = "+this.i2);//is this correct? i
}//end of amethod
}//end of inner
public static void main(
String[]a){
OuterOne.InnerOne j = new OUterOne().new InnerONe();
j.amethod();
}//end of main
}//end of outer
where can i get reference variable of OutOne object?