Class Node

java.lang.Object
org.instancio.internal.nodes.Node
Direct Known Subclasses:
ArrayNode, ClassNode, CollectionNode, MapNode

public abstract class Node extends Object
  • Method Details

    • collectChildren

      protected abstract List<Node> collectChildren()
    • accept

      public abstract void accept(NodeVisitor visitor)
    • getNodeContext

      public NodeContext getNodeContext()
    • getField

      public Field getField()
    • getTargetClass

      public Class<?> getTargetClass()
    • getGenericType

      public Type getGenericType()
    • getParent

      public Node getParent()
    • getTypeMap

      public TypeMap getTypeMap()
    • getChildren

      public List<Node> getChildren()
    • equals

      public boolean equals(@Nullable Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public final String toString()
      Overrides:
      toString in class Object