chore: pull out method, break long line.
chore: add .idea, .gradle to .gitignore.