Replaces depracated include_class by java_import.