 (setq java-packages
       '(
         company
+        (company-emacs-eclim :toggle (configuration-layer/package-usedp 'company))
         eclim
         ggtags
         helm-gtags


(defun java/post-init-company ()
  (spacemacs|add-company-hook java-mode))

(defun java/init-eclim ()
  (use-package eclim

        "pp" 'eclim-project-mode
        "pu" 'eclim-project-update

        "tt" 'eclim-run-junit))))

(defun java/post-init-ggtags ()
  (add-hook 'java-mode-local-vars-hook #'spacemacs/ggtags-mode-enable))
