@Test public void any_property() { Builder<String> root = new Builder<>("root"); root.connect(ROOT.anyProperty(), new Builder<>("anyProperty")); Schema<String> schema = root.build(); assertThat(schema.get(parse("anything")).getValue()).isEqualTo("anyProperty"); }
public T getValue() { return value; }
Schema extends SchemaBase<Schema<T>> { public T getValue() { return value; } }
Schema extends SchemaBase<Schema<T>> { public T getValue() { return value; } protected  Schema(Builder<T> builder); private  Schema(Builder<T> schemaBuilder, IdentityHashMap<Builder<T>, Schema<T>> schemas); }
Schema extends SchemaBase<Schema<T>> { public T getValue() { return value; } protected  Schema(Builder<T> builder); private  Schema(Builder<T> schemaBuilder, IdentityHashMap<Builder<T>, Schema<T>> schemas); static Builder<T> builder(); T getValue(); Schema<T> getChild(NodeId nodeId); boolean hasChildren(); boolean hasChild(NodeId nodeId); }
Schema extends SchemaBase<Schema<T>> { public T getValue() { return value; } protected  Schema(Builder<T> builder); private  Schema(Builder<T> schemaBuilder, IdentityHashMap<Builder<T>, Schema<T>> schemas); static Builder<T> builder(); T getValue(); Schema<T> getChild(NodeId nodeId); boolean hasChildren(); boolean hasChild(NodeId nodeId);  }