1 package spoon.reflect.visitor; 2 3 import java.lang.annotation.ElementType; 4 import java.lang.annotation.Target; 5 6 /** 7 * This annotation defines a method that contains children of an element of the 8 * meta model. It is used for the automatic generation of visitors of spoon 9 * metamodel elements. 10 * 11 */ 12 @Target( { ElementType.METHOD }) 13 public @interface Child { 14 /** 15 * The ordering of the child relatively to the other children of the parent 16 * node. Children will be scanned in the declared order. 17 */ 18 int order() default 0; 19 } 20