private static String getReturnType(MethodSnippet methodSnippet) {
    final String sig = methodSnippet.signature();
    final int idx = sig == null? -1 : sig.lastIndexOf(")");
    return idx > 0? sig.substring(idx + 1) : "";
  }
private static String getReturnType(MethodSnippet methodSnippet)