NameInfo: corrige ArrayIndexOutOfBoundsException

Mais defensivo na implementação de getSimpleName().

WAY-273
Merge pull request #147 in WAY/way from bugfix/WAY-273-npe-variableelementwrapper.toparameterinfo to release/1.18.0

* commit 'ffd77a5982a3226e721c5b61142ecbac247f128c':
  NameInfo: corrige ArrayIndexOutOfBoundsException