import org.apache.jackrabbit.oak.api.Type;
import org.apache.jackrabbit.oak.namepath.NamePathMapper;
import com.google.common.base.Objects;
import static com.google.common.base.Preconditions.checkArgument;
import static com.google.common.base.Preconditions.checkState;
<BUG>public class ValueImpl implements Value {
private final PropertyState propertyState;</BUG>
private final int index;
private final NamePathMapper namePathMapper;
private InputStream stream = null;

import org.apache.jackrabbit.oak.api.Type;
import org.apache.jackrabbit.oak.namepath.NamePathMapper;
import com.google.common.base.Objects;
import static com.google.common.base.Preconditions.checkArgument;
import static com.google.common.base.Preconditions.checkState;
public class ValueImpl implements Value {
public static Blob getBlob(Value value) {
checkState(value instanceof ValueImpl);
return ((ValueImpl) value).getBlob();
}
private final PropertyState propertyState;
private final int index;
private final NamePathMapper namePathMapper;
private InputStream stream = null;
