SONARJAVA-471 Update message
SONARJAVA-471 Rewrite check using AST