IModuleNameSpace elementResolver = module
IModuleNameScope elementResolver = module
	private ElementRefValue validateElementValue( Module module,			ElementDefn targetDefn, PropertyDefn propDefn, DesignElement target )			throws PropertyValueException	{		IModuleNameSpace elementResolver = module				.getModuleNameSpace( targetDefn.getNameSpaceID( ) );		ElementRefValue refValue = elementResolver.resolve( target, propDefn );		// Check type.		if ( !target.getDefn( ).isKindOf( targetDefn ) )			throw new PropertyValueException( target.getName( ),					PropertyValueException.DESIGN_EXCEPTION_WRONG_ELEMENT_TYPE,					PropertyType.ELEMENT_REF_TYPE );		// Resolved reference.		return refValue;	}