@NotNull @Override public NodeBuilder setProperty(@NotNull PropertyState property) { checkState(exists(), "This builder does not exist: " + name); head().getMutableNodeState().setProperty(checkNotNull(property)); updated(); return this; }
@Nonnull @Override public NodeBuilder setProperty(@Nonnull PropertyState property) { checkState(exists(), "This builder does not exist: " + name); head().getMutableNodeState().setProperty(checkNotNull(property)); updated(); return this; }