I have this code template in Eclipse
@since ${date}
when entered i get something like this :
@since 4.8.2009
Inserting ${date?date?string("yyyy")} within your template will do the trick (if you want year only)
${date?date?string("yyyy")}