Ast comments creation dry-ing, fix for jruby