void (@NotNull String classQualifiedName, @NotNull Collection<String> methods, @NotNull ReturnTypeCallback callback) { synchronized (myMethodToReturnTypeMap) { for (String method : methods) { myMethodToReturnTypeMap.get(method).put(classQualifiedName, callback); } } }