Sometimes writing code in IDEA, the error message appears, such as the need to handle exceptions
Move the cursor to the error, which is the place to draw the red line, the first line will be a small light bulb, click Figure II appears, follow the prompts can be repaired
But sometimes, the cursor is gone is gone, you have to move the cursor past some trouble
At this point you can Alt + Enter
Further Alt + Enter the name used in the method, may be added javadoc