class A1 Test.A1 Object { def (): Test.A1 def foo: Nothing } class A2 Test.A2 Object { def (): Test.this.A2 def foo: Nothing }