Buggy code:
public class AsmDeclarationsTest extends AjdeTestCase { private IHierarchy model = null ; private static final String CONFIG_FILE_PATH = "..//examples//coverage//coverage.lst" ; private static final int DEC_MESSAGE_LENGTH = AsmElementFormatter . MAX_MESSAGE_LENGTH ; public AsmDeclarationsTest ( String name ) { } public void testRoot ( ) { } public void testFileInPackageAndDefaultPackage ( ) { } public void testDeclares ( ) { IProgramElement node = ( ( IProgramElement ) ( model . getRoot ( ) ) ) ; assertNotNull ( node ) ; IProgramElement aspect = AsmManager . getDefault ( ) . getHierarchy ( ) . findElementForType ( null , "DeclareCoverage" ) ; assertNotNull ( aspect ) ; String label = "declare<seq2seq4repair_space>error:<seq2seq4repair_space>\"Illegal<seq2seq4repair_space>construct..\"" ; IProgramElement decErrNode = model . findElementForSignature ( aspect , DECLARE_ERROR , "declare<seq2seq4repair_space>error" ) ; assertNotNull ( decErrNode ) ; assertEquals ( decErrNode . toLabelString ( ) , label ) ; <START_BUG> String decWarnMessage = "declare<seq2seq4repair_space>warning:<seq2seq4repair_space>\"Illegal<seq2seq4repair_space>construct..\"" ; <END_BUG> IProgramElement decWarnNode = model . findElementForSignature ( aspect , DECLARE_WARNING , "declare<seq2seq4repair_space>warning" ) ; assertNotNull ( decWarnNode ) ; assertEquals ( decWarnNode . toLabelString ( ) , decWarnMessage ) ; String decParentsMessage = "declare<seq2seq4repair_space>parents:<seq2seq4repair_space>Point" ; IProgramElement decParentsNode = model . findElementForSignature ( aspect , DECLARE_PARENTS , "declare<seq2seq4repair_space>parents" ) ; assertNotNull ( decParentsNode ) ; assertEquals ( decParentsNode . toLabelString ( ) , decParentsMessage ) ; int declareIndex = decParentsNode . getParent ( ) . getChildren ( ) . indexOf ( decParentsNode ) ; String decParentsPtnMessage = "declare<seq2seq4repair_space>parents:<seq2seq4repair_space>Point+" ; assertEquals ( ( ( IProgramElement ) ( aspect . getChildren ( ) . get ( ( declareIndex + 1 ) ) ) ) . toLabelString ( ) , decParentsPtnMessage ) ; String decParentsTPMessage = "declare<seq2seq4repair_space>parents:<seq2seq4repair_space><type<seq2seq4repair_space>pattern>" ; assertEquals ( ( ( IProgramElement ) ( aspect . getChildren ( ) . get ( ( declareIndex + 2 ) ) ) ) . toLabelString ( ) , decParentsTPMessage ) ; String decSoftMessage = "declare<seq2seq4repair_space>soft:<seq2seq4repair_space>SizeException" ; IProgramElement decSoftNode = model . findElementForSignature ( aspect , DECLARE_SOFT , "declare<seq2seq4repair_space>soft" ) ; assertNotNull ( decSoftNode ) ; assertEquals ( decSoftNode . toLabelString ( ) , decSoftMessage ) ; String decPrecMessage = "declare<seq2seq4repair_space>precedence:<seq2seq4repair_space>AdviceCoverage,<seq2seq4repair_space>InterTypeDecCoverage,<seq2seq4repair_space><type<seq2seq4repair_space>pattern>" ; IProgramElement decPrecNode = model . findElementForSignature ( aspect , DECLARE_PRECEDENCE , "declare<seq2seq4repair_space>precedence" ) ; assertNotNull ( decPrecNode ) ; assertEquals ( decPrecNode . toLabelString ( ) , decPrecMessage ) ; } public void testInterTypeMemberDeclares ( ) { } public void testPointcuts ( ) { } public void testAbstract ( ) { } public void testAdvice ( ) { } protected void setUp ( ) throws Exception { } protected void tearDown ( ) throws Exception { } }

Fix:
String decWarnMessage = "declare<seq2seq4repair_space>warning:<seq2seq4repair_space>\"Illegal<seq2seq4repair_space>call.\"" ;