Consider hibernate XMLs: *.cfg.xml and *.hbm.xml. Some elements and attributes accept both class names and shorthand values. E.g.:
- In hibernate.cfg.xml: current_session_context_class property accepts both "thread" and "org.hibernate.context.ThreadLocalSessionContext".
- In class.hbm.xml: class/id/generator/@class value may be "increment" and "org.hibernate.id.IncrementGenerator".
- Etc.
Get an element with class name value. Put cursor after any dot. Ctrl+Space. The suggestions are Ok. Select shorthand value. Tab. Result: incorrectly "qualified" value like "org.hibernate.increment".
Inserted shorthand value should erase FQN prefix.