   :init
   (add-hook 'java-mode-hook
             '(lambda () (progn
-                     ;; (semantic-mode)
                      (setq-local company-transformers '(company-sort-by-backend-importance
                                                         company-sort-prefer-same-case-prefix
                                                         company-sort-by-statistics))

  :config
  (setq jdee-server-dir (concat user-emacs-directory ".cache/jdee/")))

(use-package eclim
  :ensure t
  :commands global-eclim-mode eclim-mode
  :bind
  (:map eclim-mode-map
        ("C-c C-d s" . start-eclimd)
        ("C-c C-d k" . stop-eclimd))
  :config
  (use-package company-emacs-eclim
    :ensure t
    :commands company-emacs-eclim)
  (use-package eclimd
    :commands start-eclimd))

(provide 'mds-java-pl)
;;; mds-java-pl.el ends here

                                                     company-files)))
                     (flycheck-mode)
                     (setq-local counsel-dash-docsets '("Java_SE8" "Java_EE7" "JavaFX"))
                     (define-key java-mode-map (kbd "<f6> j") 'jdee-mode)
                     (define-key java-mode-map (kbd "<f6> m") 'meghanada-mode))))
  (add-hook 'jdee-mode-hook
            '(lambda () (progn
                     (setq-local company-backends '((company-yasnippet
