Fixed problems with static Java members import.