Places an annotation in a separate annotations.xml file and removes it from the code.

This intention is available in the editor when Use external annotations option is enabled in Settings | Editor | Code Style | Java | Code Generation.