Bug 267021 [DataBinding] NotUsedLocally errors in org.eclipse.core.databinding
bundles/org.eclipse.core.databinding.property/src/org/eclipse/core/databinding/property/value/DelegatingValueProperty.java
private final Object valueType;
	private final IValueProperty nullProperty = new NullValueProperty();
	protected DelegatingValueProperty() {
		this(null);
	}
	protected DelegatingValueProperty(Object valueType) {
		this.valueType = valueType;
	}
	/**
	 * Returns the property to delegate to for the specified source object.
	 * Repeated calls to this method with the same source object returns the
	 * same delegate instance.
	 * 
	 * @param source
	 *            the property source (may be null)
	 * @return the property to delegate to for the specified source object.
	 */
	public final IValueProperty getDelegate(Object source) {
		if (source == null)
			return nullProperty;
		IValueProperty delegate = doGetDelegate(source);
		if (delegate == null)
			delegate = nullProperty;
		return delegate;