Community
Participate
Working Groups
build 20040212 1) create the following classes package q1; public class X { Object x = new Y(){}; } package q1; public class Y { } 2) select 'q1' in package explorer 3) do right click and Open Type Hierarchy Hierachy view contains Object +-X +-Y +-newY(){..} 4) cut 'Object x =' and save Hierachy view contains Object +-X +-Y 5) copy 'Object x =' and save Hierachy view contains Object +-X +-Y The anonymous class is missing
Step 5 should read: paste 'Object x =' and save
Changed TypeHierarchy.hasSubtypeNamed(String) to look in all types of the hierarchy if the focus is null. Added regression test TypeHierachyNotificationTests.testAddAnonymousTypeInRegion ()
Verified for 3.0 with build I200405180816.