code: private MethodIdentifier calculateMethodIdentifier(MethodDeclaration method) {
          String[] parameters = method.getParameters().stream()
                  .map(p -> p.getType().asString())
                  .map(p -> p.replace('.', '/'))
                  .toArray(String[]::new);
          String returnType = method.getType().asString().replace('.', '/');
  
          if (method.isStatic()) {
              return ofStatic(className, method.getNameAsString(), returnType, parameters);
          }
          return ofNonStatic(className, method.getNameAsString(), returnType, parameters);
      }
docs: <b>Note:</b> This will not return the actual identifier but only the simple names of the types (return type &amp; parameter types).
  Doing a full type resolving with all imports adds too much complexity at this point.
  This is a best-effort approach.