void (MyElement paramElement) { Object o = new Object() { private final MyElement nestedField; public void targetMethod(MyElement nestedParamElement) { final MyElement localElement1 = getElement(); getProje<caret>ct (); MyElement localElement2 = getElement(); } } }