Community
Participate
Working Groups
Using 1119, isLocal() only answers true for local classes directly inside a method declaration. Its member classes don't reply true to isLocal(). Therefore there is no efficient way to find out that a class should be included in an import statement for example. We might want to change the API specification of the isLocal() method or add a new method which would improve this. This problem is related to an issue in bug 26452.
isLocal() definition should be related to the semantic of a local class. A local class cannot have static fields, etc. The actual specification doesn't make this distinction and it should.
Defer
As of now 'LATER' and 'REMIND' resolutions are no longer supported. Please reopen this bug if it is still valid for you.