Buggy code:
public void parseErrorInsertToCompleteScope ( int start , int end , String inserted ) { } public void parseErrorInvalidToken ( int start , int end , int currentKind , char [ ] errorTokenSource , String errorTokenName , String expectedToken ) { } public void parseErrorMergeTokens ( int start , int end , String expectedToken ) { } public void parseErrorMisplacedConstruct ( int start , int end ) { } public void parseErrorNoSuggestion ( int start , int end , int currentKind , char [ ] errorTokenSource , String errorTokenName ) { } public void parseErrorNoSuggestionForTokens ( int start , int end ) { } public void parseErrorReplaceToken ( int start , int end , int currentKind , char [ ] errorTokenSource , String errorTokenName , String expectedToken ) { } public void parseErrorReplaceTokens ( int start , int end , String expectedToken ) { } public void parseErrorUnexpectedEnd ( int start , int end ) { } public void possibleAccidentalBooleanAssignment ( Assignment assignment ) { } public void possibleFallThroughCase ( CaseStatement caseStatement ) { } public void publicClassMustMatchFileName ( CompilationUnitDeclaration compUnitDecl , TypeDeclaration typeDecl ) { } public void rawMemberTypeCannotBeParameterized ( ASTNode location , ReferenceBinding type , TypeBinding [ ] argumentTypes ) { } public void rawTypeReference ( ASTNode location , TypeBinding type ) { } public void recursiveConstructorInvocation ( ExplicitConstructorCall constructorCall ) { } public void redefineArgument ( Argument arg ) { } public void redefineLocal ( LocalDeclaration localDecl ) { } public void redundantSuperInterface ( SourceTypeBinding type , TypeReference reference , ReferenceBinding superinterface , ReferenceBinding declaringType ) { } public void referenceMustBeArrayTypeAt ( TypeBinding arrayType , ArrayReference arrayRef ) { } public void reset ( ) { } private int retrieveClosingAngleBracketPosition ( int start ) { } private int retrieveEndingPositionAfterOpeningParenthesis ( int sourceStart , int sourceEnd , int numberOfParen ) { } private int retrieveStartingPositionAfterOpeningParenthesis ( int sourceStart , int sourceEnd , int numberOfParen ) { } public void returnTypeCannotBeVoidArray ( MethodDeclaration methodDecl ) { } public void scannerError ( Parser parser , String errorTokenName ) { } public void shouldImplementHashcode ( SourceTypeBinding type ) { } public void shouldReturn ( TypeBinding returnType , ASTNode location ) { } public void signalNoImplicitStringConversionForCharArrayExpression ( Expression expression ) { } public void staticAndInstanceConflict ( MethodBinding currentMethod , MethodBinding inheritedMethod ) { } public void staticFieldAccessToNonStaticVariable ( ASTNode location , FieldBinding field ) { } public void staticInheritedMethodConflicts ( SourceTypeBinding type , MethodBinding concreteMethod , MethodBinding [ ] abstractMethods ) { } public void staticMemberOfParameterizedType ( ASTNode location , ReferenceBinding type , int index ) { } public void stringConstantIsExceedingUtf8Limit ( ASTNode location ) { } public void superclassMustBeAClass ( SourceTypeBinding type , TypeReference superclassRef , ReferenceBinding superType ) { } public void superfluousSemicolon ( int sourceStart , int sourceEnd ) { } public void superinterfaceMustBeAnInterface ( SourceTypeBinding type , TypeReference superInterfaceRef , ReferenceBinding superType ) { } public void superinterfacesCollide ( TypeBinding type , ASTNode decl , TypeBinding superType , TypeBinding inheritedSuperType ) { } public void superTypeCannotUseWildcard ( SourceTypeBinding type , TypeReference superclass , TypeBinding superTypeBinding ) { } private void syntaxError ( int id , int startPosition , int endPosition , int currentKind , char [ ] currentTokenSource , String errorTokenName , String expectedToken ) { } public void task ( String tag , String message , String priority , int start , int end ) { } public void tooManyDimensions ( ASTNode expression ) { } public void tooManyFields ( TypeDeclaration typeDeclaration ) { } public void tooManyMethods ( TypeDeclaration typeDeclaration ) { } public void tooManyParametersForSyntheticMethod ( AbstractMethodDeclaration method ) { MethodBinding binding = method . binding ; String selector = null ; if ( binding . isConstructor ( ) ) { selector = new String ( binding . declaringClass . sourceName ( ) ) ; } else { <START_BUG> selector = new String ( selector ) ; <END_BUG> } this . handle ( IProblem . TooManyParametersForSyntheticMethod , new String [ ] { selector , typesAsString ( binding . isVarargs ( ) , binding . parameters , false ) , new String ( binding . declaringClass . readableName ( ) ) } , new String [ ] { selector , typesAsString ( binding . isVarargs ( ) , binding . parameters , true ) , new String ( binding . declaringClass . shortReadableName ( ) ) } , ( ( ( ProblemSeverities . AbortMethod ) | ( ProblemSeverities . Error ) ) | ( ProblemSeverities . Fatal ) ) , method . sourceStart , method . sourceEnd ) ; } public void typeCastError ( CastExpression expression , TypeBinding leftType , TypeBinding rightType ) { } public void typeCollidesWithEnclosingType ( TypeDeclaration typeDecl ) { } public void typeCollidesWithPackage ( CompilationUnitDeclaration compUnitDecl , TypeDeclaration typeDecl ) { } public void typeHiding ( TypeDeclaration typeDecl , TypeBinding hiddenType ) { } public void typeHiding ( TypeDeclaration typeDecl , TypeVariableBinding hiddenTypeParameter ) { } public void typeHiding ( TypeParameter typeParam , Binding hidden ) { } public void typeMismatchError ( TypeBinding actualType , TypeBinding expectedType , ASTNode location , ASTNode expectingLocation ) { } public void typeMismatchError ( TypeBinding typeArgument , TypeVariableBinding typeParameter , ReferenceBinding genericType , ASTNode location ) { } private String typesAsString ( boolean isVarargs , TypeBinding [ ] types , boolean makeShort ) { } public void undefinedAnnotationValue ( TypeBinding annotationType , MemberValuePair memberValuePair ) { } public void undefinedLabel ( BranchStatement statement ) { } public void undefinedTypeVariableSignature ( char [ ] variableName , ReferenceBinding binaryType ) { } public void undocumentedEmptyBlock ( int blockStart , int blockEnd ) { } public void unexpectedStaticModifierForField ( SourceTypeBinding type , FieldDeclaration fieldDecl ) { } public void unexpectedStaticModifierForMethod ( ReferenceBinding type , AbstractMethodDeclaration methodDecl ) { } public void unhandledException ( TypeBinding exceptionType , ASTNode location ) { } public void unhandledWarningToken ( Expression token ) { } public void uninitializedBlankFinalField ( FieldBinding field , ASTNode location ) { } public void uninitializedLocalVariable ( LocalVariableBinding binding , ASTNode location ) { }

Fix:
selector = new String ( method . selector ) ;