MethodGen gen = pack(); return gen.getMethod();
try { MethodGen gen = pack(); return gen.getMethod(); } catch (ClassGenException e) { enclosingClass.getBcelObjectType().getResolvedTypeX().getWorld().showMessage( IMessage.ERROR, "problem generating method " + this.getClassName() + "." + this.getName() + ": " + e.getMessage(), this.getMemberView() == null ? null : this.getMemberView().getSourceLocation(), null); throw e; }
    public Method getMethod() {        MethodGen gen = pack();        return gen.getMethod();    }