Fixed wrong Java 8 reflection API call