KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > spoon > template > Local


1 package spoon.template;
2
3 import java.lang.annotation.ElementType JavaDoc;
4 import java.lang.annotation.Target JavaDoc;
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 JavaDoc( { ElementType.METHOD, ElementType.CONSTRUCTOR, ElementType.FIELD,
16         ElementType.TYPE })
17 public @interface Local {
18 }
19
Popular Tags