Community
Participate
Working Groups
AK (11/15/00 4:16:04 PM) the NewClassWizard show all the classes as canditates for a superclass, and the same applies to superinterfaces (and to the NewInterfaceWizard) should not show not visible types. as an example, create this: class A{ private class B{} } and now use the wizard to create a class - when you ask for possible superclasses B is on the list too, although it's not visisible thus cannot be subclassed NOTES:
moved to 'active'
PRODUCT VERSION: TestPass 15.11.2k
not critical defer
Collecting all possible types is done via a special APi in Java Core which returns type references not real types. These type references don't have visibility information. Accessing the visibility information would resolve the actual IType which is much to expensive. So fixing this requires support from Core. Moving to JDT Core for commenting. Please dispose if you don't provide support
Won't change, API wise this would be troublesome, plus some visibility check would need to be implemented to play the real accessibility rules. Closing as won't fix.