1 package spoon.template; 2 3 import java.lang.annotation.ElementType; 4 import java.lang.annotation.Target; 5 6 import spoon.reflect.declaration.CtType; 7 8 /** 9 * This annotation should be placed on templates' members to indicate that they 10 * are local elements of the template class. As such, they are not used either 11 * for matching or generating code. 12 * 13 * @see spoon.template.Substitution#insertAll(CtType, Template) 14 */ 15 @Target( { ElementType.METHOD, ElementType.CONSTRUCTOR, ElementType.FIELD, 16 ElementType.TYPE }) 17 public @interface Local { 18 } 19