mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-02-11 07:25:23 +00:00
Java 8 allows for method references which in-turn will cause compile errors if a method is not visible while reflection fails late and maybe too late. We can now register Request instances via FooRequest::new instead of passing FooRequest.class and call it's ctor via reflection.