[FEATURE] Add trait to detect public deprecated methods