add checkContains

This function can be used to simple checking if variables contains
keywords. It can handle situation when variable isn't defined or isn't
a string.

Change-Id: If6b667c2f86d353d6e0a7d0110fc5b3682ee996e
1 file changed
tree: 6dc4a474d7198417f0c6758b6339d430e3e17a25
  1. src/
  2. vars/
  3. .gitignore
  4. .gitreview
  5. build.gradle
  6. codenarcRules.groovy