Fix javadoc on IDEA

Thanks to @dariusc93 for discovering and testing this