class MultipleNames { void method1() { class A {} } void method2() { class B {} } }