code: private void genNullCheck(DiagnosticPosition pos) {
          callMethod(pos, syms.objectType, names.getClass,
                     List.<Type>nil(), false);
          code.emitop0(pop);
      }
docs: Generate a null check from the object value at stack top.