Class ReflectiveNodeFactory


  • public class ReflectiveNodeFactory
    extends java.lang.Object
    • Constructor Detail

      • ReflectiveNodeFactory

        public ReflectiveNodeFactory()
    • Method Detail

      • root

        public static <N extends TreeNode> N root​(java.lang.Class<N> nodeClass)
      • annotated

        public static <A,​N extends TreeNode & Annotatable<A>> N annotated​(N node,
                                                                                A annotation)
      • annotatedRoot

        public static <A,​N extends TreeNode & Annotatable<A>> N annotatedRoot​(java.lang.Class<N> nodeClass,
                                                                                    A annotation)
      • childOf

        public static <N extends BiDiTreeNode<N>> N childOf​(N parent)
      • annotatedChildOf

        public static <A,​N extends AnnotatableBiDiNode<A,​N>> N annotatedChildOf​(N parent,
                                                                                            A annotation)