Fixed resolve to objects from Java with * import.