code: public static String getReturnSignature(String methodSig) {
          int parenPos = methodSig.indexOf(')');
          if (parenPos < 0) {
              return "?";
          }
  
          return methodSig.substring(parenPos + 1);
      }
docs: gets the return type signature from a method signature
  
  @param methodSig
  the signature of the method
  
  @return the signature of the return type, or ? if a bogus method signature is given