new A(){ private void newMethod(String str) { } };