Annotation Type Child


@Target(METHOD) public @interface Child
This annotation defines a method that contains children of an element of the meta model. It is used for the automatic generation of visitors of spoon metamodel elements.
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    int
    The ordering of the child relatively to the other children of the parent node.
  • Element Details

    • order

      int order
      The ordering of the child relatively to the other children of the parent node. Children will be scanned in the declared order.
      Default:
      0