Class NodeContext

    • Constructor Detail

      • NodeContext

        protected NodeContext​(@NonNull java.lang.reflect.AnnotatedType type)
    • Method Detail

      • init

        protected void init()
      • type

        public java.lang.reflect.AnnotatedType type()
      • codecFor

        public <T> TypeCodec<T> codecFor​(java.lang.reflect.AnnotatedType type)
      • configVersion

        public abstract int configVersion()
      • createChildContext

        public NodeContext createChildContext​(java.lang.reflect.AnnotatedType type,
                                              java.lang.String key)
      • fullKey

        public abstract java.lang.String fullKey()
        Returns the full key of the node. This combines the parent full key (if it has a parent) and its own key. In contrast to key(), the root node will return an empty string instead of null.
      • key

        public abstract @Nullable java.lang.String key()
        Returns the key of this node, or null if this is the root node.
      • markChanged

        public void markChanged()
      • changed

        public boolean changed()