Community
Participate
Working Groups
I20031007 In the following example public class A { public void foo() { A a= new A() {}; } } calling getDeclaring type on A(){...} returns an IType of format class A [in [Working copy] A.java [in <default> [in src [in Test]]]] void foo() class <anonymous #1>
What do you find strange about this type?
I got tricked by the line class <anonymous #1> and thought that the enclosing type was the type itself. Closing as invalid.