method test diagram accept certain object overridden diagram want accept certain type object diagram bother answer don accept object param object accept object accept check accept doe accept suppress warn unus object object accept 