# Java

## Features

- Eclipse Classpath Editing
- Java Validation / Correction
- Java Code Completion
- Java Search
- Java / Jps
- Java Debugging
- Javadoc Support
- Java Source Code Formatting
- Java Refactoring
- Java Code Inspection
- Automated Imports
- Type Creation
- Method Generation
- Unit Tests
- Logging (log4j, etc)

- Ant
- Maven
- Android
- WEB-INF/web.xml

## Suggested Mappings

Here are some mappings for the java funtionality provided by eclim. To make use of these mappings, simply create a ftplugin file for java and place your mappings there (:help ftplugin-name).

- Import the class under the cursor with <leader>i (:h mapleader):

      nnoremap <silent> <buffer> <leader>i :JavaImport<cr>

- Search for the javadocs of the element under the cursor with <leader>d.

      nnoremap <silent> <buffer> <leader>d :JavaDocSearch -x declarations<cr>

- Perform a context sensitive search of the element under the cursor with <enter>.

      nnoremap <silent> <buffer> <cr> :JavaSearchContext<cr>