leave methods to ensure compatibility, to be inlined and deprecated in separate commit (IDEA-CR-30329)