code: private static String getMethodName(MethodSymbol methodSym) {
      return String.format("%s#%s", methodSym.owner, methodSym.getSimpleName());
    }
docs: Given a {@link MethodSymbol}, returns a method name in the form "owningClass#methodName", e.g.
  "java.util.function.Function#apply".