Mercurial > hg > truffle
diff graal/com.oracle.truffle.api.test/src/com/oracle/truffle/api/test/ChildNodeTest.java @ 7530:5e3d1a68664e
applied mx eclipseformat to all Java files
author | Doug Simon <doug.simon@oracle.com> |
---|---|
date | Wed, 23 Jan 2013 16:34:57 +0100 |
parents | a4b84ba6dc2e |
children | df1d665ca846 |
line wrap: on
line diff
--- a/graal/com.oracle.truffle.api.test/src/com/oracle/truffle/api/test/ChildNodeTest.java Wed Jan 23 16:34:38 2013 +0100 +++ b/graal/com.oracle.truffle.api.test/src/com/oracle/truffle/api/test/ChildNodeTest.java Wed Jan 23 16:34:57 2013 +0100 @@ -33,20 +33,24 @@ /** * <h3>Creating a Child Node</h3> - * + * * <p> - * Child nodes are stored in the class of the parent node in fields that are marked with the {@link Child} annotation. - * Before such a field is assigned, {@link Node#adoptChild} must be called. This method automatically establishes a link - * from the child to the parent. The {@link Node#getParent()} method allows access to this field. Every node also - * provides the ability to iterate over its children using {@link Node#getChildren()}.</p> - * - * <p>A child node field must be declared private and non-final. It may only be assigned in the constructor of the parent - * node. For changing the structure of the tree at run time, the method {@link Node#replace(Node)} must be used (see - * {@link ReplaceTest}). + * Child nodes are stored in the class of the parent node in fields that are marked with the + * {@link Child} annotation. Before such a field is assigned, {@link Node#adoptChild} must be + * called. This method automatically establishes a link from the child to the parent. The + * {@link Node#getParent()} method allows access to this field. Every node also provides the ability + * to iterate over its children using {@link Node#getChildren()}. * </p> - * + * * <p> - * The next part of the Truffle API introduction is at {@link com.oracle.truffle.api.test.ChildrenNodesTest}. + * A child node field must be declared private and non-final. It may only be assigned in the + * constructor of the parent node. For changing the structure of the tree at run time, the method + * {@link Node#replace(Node)} must be used (see {@link ReplaceTest}). + * </p> + * + * <p> + * The next part of the Truffle API introduction is at + * {@link com.oracle.truffle.api.test.ChildrenNodesTest}. * </p> */ public class ChildNodeTest {