Fixes name-clash-problem with static methods and JavaExtensions where the static method is in an un-instantiable class