Sometimes I find myself writing repetitive code constructs without being able to extract common code due to Java syntax hmm... let's call them peculiarities. 'Sounds like a job for a live template', I think, and I simply create it. Here's how. The documentation has it too, but a good example never h…