Buggy code:
@ Override public boolean visit ( ArrayAccess node ) { } @ Override public boolean visit ( ArrayCreation node ) { } @ Override public boolean visit ( ArrayInitializer node ) { } @ Override public boolean visit ( ArrayType node ) { } @ Override public boolean visit ( AssertStatement node ) { } @ Override public boolean visit ( Assignment node ) { } @ Override public boolean visit ( Block node ) { } @ Override public boolean visit ( BooleanLiteral node ) { } @ Override public boolean visit ( BreakStatement node ) { } @ Override public boolean visit ( CastExpression node ) { } @ Override public boolean visit ( CatchClause node ) { } @ Override public boolean visit ( CharacterLiteral node ) { } @ Override public boolean visit ( ClassInstanceCreation node ) { } @ Override public boolean visit ( CommaExpression node ) { } @ Override public boolean visit ( CompilationUnit node ) { } @ Override public boolean visit ( ConditionalExpression node ) { } @ Override public boolean visit ( ConstructorInvocation node ) { } @ Override public boolean visit ( ContinueStatement node ) { } @ Override public boolean visit ( CreationReference node ) { } @ Override public boolean visit ( CStringLiteral node ) { } @ Override public boolean visit ( Dimension node ) { } @ Override public boolean visit ( DoStatement node ) { } @ Override public boolean visit ( EmptyStatement node ) { } @ Override public boolean visit ( EnhancedForStatement node ) { } @ Override public boolean visit ( EnumConstantDeclaration node ) { } @ Override public boolean visit ( EnumDeclaration node ) { } @ Override public boolean visit ( ExpressionMethodReference node ) { } @ Override public boolean visit ( ExpressionStatement node ) { } @ Override public boolean visit ( FieldAccess node ) { } @ Override public boolean visit ( FieldDeclaration node ) { } @ Override public boolean visit ( ForStatement node ) { } @ Override public boolean visit ( FunctionDeclaration node ) { } @ Override public boolean visit ( FunctionInvocation node ) { } @ Override public boolean visit ( IfStatement node ) { } @ Override public boolean visit ( InfixExpression node ) { } @ Override public boolean visit ( Initializer node ) { } @ Override public boolean visit ( InstanceofExpression node ) { } @ Override public boolean visit ( IntersectionType node ) { } @ Override public boolean visit ( Javadoc node ) { } @ Override public boolean visit ( LabeledStatement node ) { } @ Override public boolean visit ( LambdaExpression node ) { } @ Override public boolean visit ( MarkerAnnotation node ) { } @ Override public boolean visit ( MemberValuePair node ) { } @ Override public boolean visit ( MethodDeclaration node ) { } @ Override public boolean visit ( MethodInvocation node ) { } @ Override public boolean visit ( NameQualifiedType node ) { } @ Override public boolean visit ( NativeDeclaration node ) { } @ Override public boolean visit ( NativeExpression node ) { } @ Override public boolean visit ( NativeStatement node ) { } @ Override public boolean visit ( NormalAnnotation node ) { } @ Override public boolean visit ( NullLiteral node ) { } @ Override public boolean visit ( NumberLiteral node ) { } @ Override public boolean visit ( PackageDeclaration node ) { } @ Override public boolean visit ( ParameterizedType node ) { } @ Override public boolean visit ( ParenthesizedExpression node ) { } @ Override public boolean visit ( PostfixExpression node ) { } @ Override public boolean visit ( PrefixExpression node ) { } @ Override public boolean visit ( PrimitiveType node ) { } @ Override public boolean visit ( PropertyAnnotation node ) { } @ Override public boolean visit ( QualifiedName node ) { } @ Override public boolean visit ( QualifiedType node ) { } @ Override public boolean visit ( ReturnStatement node ) { } @ Override public boolean visit ( SimpleName node ) { } @ Override public boolean visit ( SimpleType node ) { } @ Override public boolean visit ( SingleMemberAnnotation node ) { } @ Override public boolean visit ( SingleVariableDeclaration node ) { } @ Override public boolean visit ( StringLiteral node ) { <START_BUG> sb . print ( UnicodeUtils . escapeStringLiteral ( node . getLiteralValue ( ) ) ) ; <END_BUG> return false ; } @ Override public boolean visit ( SuperConstructorInvocation node ) { } @ Override public boolean visit ( SuperFieldAccess node ) { } @ Override public boolean visit ( SuperMethodInvocation node ) { } @ Override public boolean visit ( SuperMethodReference node ) { } @ Override public boolean visit ( SwitchCase node ) { } @ Override public boolean visit ( SwitchStatement node ) { } @ Override public boolean visit ( SynchronizedStatement node ) { } @ Override public boolean visit ( TagElement node ) { } @ Override public boolean visit ( ThisExpression node ) { } @ Override public boolean visit ( ThrowStatement node ) { } @ Override public boolean visit ( TryStatement node ) { } @ Override public boolean visit ( TypeDeclaration node ) { } @ Override public boolean visit ( TypeLiteral node ) { } @ Override public boolean visit ( TypeMethodReference node ) { } @ Override public boolean visit ( UnionType node ) { } @ Override public boolean visit ( VariableDeclarationExpression node ) { } @ Override public boolean visit ( VariableDeclarationFragment node ) { } @ Override public boolean visit ( VariableDeclarationStatement node ) { } @ Override public boolean visit ( WhileStatement node ) { } private void printAnnotations ( List < Annotation > annotations ) { } private void printModifiers ( int modifiers ) { } private void printTypeParameters ( ITypeBinding [ ] typeParams ) { } }

Fix:
sb . printf ( "\"%s\"" , UnicodeUtils . escapeStringLiteral ( node . getLiteralValue ( ) ) ) ;