if (seenStatic && hook == null) { getStaticHook();
if (staticHook != null && staticInit == null) {  begin_static();
    public void end_class() {        if (seenStatic && hook == null) {            getStaticHook(); // force hook method creation        }        if (hook != null) {            if (!seenStatic) {                CodeVisitor v = outer.visitMethod(Constants.ACC_STATIC,                                                  Constants.SIG_STATIC.getName(),                                                  Constants.SIG_STATIC.getDescriptor(),                                                  null,                                                  null);                v.visitInsn(Constants.RETURN);                v.visitMaxs(0, 0);            }            ended = true;            hook.return_value();            hook.end_method();        }        cv.visitEnd();    }