[go: up one dir, main page]

Menu

#68 Unused outer classes but used inner classes causes unused warning

1.11.0
open
bad marker (1)
1
2012-08-27
2012-08-27
No

This bug is a copy of General Discussion: "Unused outer classes but used inner classes causes unused warning"

I believe this is a bug and tried to enter the bug in the bugs section, but there appears to be no way to add a bug. Is this by design?

Anyhow, if I have a class like this:

class NotUsedDirectly {
static class Used1 {}
}

class Client {
Client() { new Used1(); }
}

I'll get an incorrect unused code warning on NotUsedDirectly. Not only that, but it will offer as the correction to delete the file.

Discussion

Anonymous
Anonymous

Add attachments
Cancel