@Override
    public void visitVariable(@NotNull PsiVariable variable) {
      super.visitVariable(variable);
      final String name = variable.getName();
      if (name == null) {
        return;
      }
      if (name.indexOf('$') < 0) {
        return;
      }
      registerVariableError(variable);
    }
@Override
    public void visitVariable(@NotNull PsiVariable variable)