class X { private int myI; void foo() { newMethod(myI); } private static void newMethod(int myI) { int i = myI; } }