code: private Object doNewInner(Object obj, boolean toLHS,
              CallStack callstack, Interpreter interpreter) throws EvalError {
          BSHAllocationExpression alloc = (BSHAllocationExpression) jjtGetChild(0);
          if (Reflect.isGeneratedClass(obj.getClass())) {
              callstack.pop();
              callstack.push(Reflect.getThisNS(obj));
              return alloc.eval(callstack, interpreter);
          }
  
          return alloc.constructFromEnclosingInstance(obj, callstack, interpreter);
      }
docs: /*
  Instance.new InnerClass() implementation