add analyze associations method for static delete method