int beginIndex, int endIndex
is important when we invoke methods.
How to show this when the cursor is in the brackets?
Default shortcut to show parameter info in IDEA is ctrl+P.
Here is a sheet from JetBrains with this and other useful keyboard shortcuts: https://resources.jetbrains.com/storage/products/intellij-idea/docs/IntelliJIDEA_ReferenceCard.pdf