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.
Provide an action from the context menu of interfaces (e.g. New->Wrapper) and a file template (in the New File dialog) to create a Wrapper class from an interface. e.g. public interface MyInterface{ void setBor(Bar bar); Bar getBar(); void foo(); } should create: public class MyInterfaceWrapper{ private final MyInterface myInterface; public MyInterfaceWrapper(MyInterface myInterface){ this.myInterface = myInterface; } @Override public void setBoo(Bar bar){ myInterface.setBar(bar); } @Override public Bar getBar(){ return myInterface.getBar(); } @Override public void foo(){ myInterface.foo(); } }