This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
I have a maven web project. I created the following class: public class MyWicketApplication extends WebApplication { @Override public Class<? extends Page> getHomePage() { return HomePage.class; } } I get a red icon on the line "return HomePage.class" stating "incompatible types". It does not give me a choice to fix the type, or typecast it.
Add Cast currently does not support this scenerio. Good enhancement though, thanks.