Buggy code:
public class RuntimeVisibleAnnotationAttributeTest extends BcelTestCase { protected void setUp ( ) throws Exception { } public void testSeeAnnotationsAsAttribute ( ) throws ClassNotFoundException { } public void testAnnotationsAttributeContainsRightData ( ) throws ClassNotFoundException { } public void testAccessingAnnotationsOnClazz ( ) throws ClassNotFoundException { } public void testReadingWritingAnnotations ( ) throws IOException , ClassNotFoundException { } public void testAnnotationStringElement ( ) throws ClassNotFoundException { } public void testAnnotationStringElementReadWrite ( ) throws IOException , ClassNotFoundException { } private void verifyAnnotationStringElement ( JavaClass clazz ) { } public void testComplexAnnotation ( ) throws ClassNotFoundException { } public void testComplexAnnotationsReadWrite ( ) throws IOException , ClassNotFoundException { } private void verifyComplexAnnotation ( JavaClass clazz ) { } private void checkValue ( Annotation a , String name , String tostring ) { } public void testAnnotationClassElement ( ) throws ClassNotFoundException { } public void testAnnotationClassElementCopying ( ) throws ClassNotFoundException { } public void testAnnotationClassElementReadWrite ( ) throws IOException , ClassNotFoundException { } private void verifyClassAnnotation ( JavaClass clazz ) { } public void testAnnotationEnumElement ( ) throws ClassNotFoundException { } public void testAnnotationEnumElementReadWrite ( ) throws IOException , ClassNotFoundException { } public void verifyAnnotationEnumElement ( JavaClass clazz ) { Annotation [ ] anns = clazz . getAnnotations ( ) ; assertTrue ( ( "should<seq2seq4repair_space>be<seq2seq4repair_space>one<seq2seq4repair_space>annotation<seq2seq4repair_space>but<seq2seq4repair_space>found<seq2seq4repair_space>" + ( anns . length ) ) , ( ( anns . length ) == 1 ) ) ; Annotation ann = anns [ 0 ] ; assertTrue ( ( "should<seq2seq4repair_space>be<seq2seq4repair_space>called<seq2seq4repair_space>'AnnotationEnumElement'<seq2seq4repair_space>but<seq2seq4repair_space>was<seq2seq4repair_space>called<seq2seq4repair_space>" + ( ann . getTypeName ( ) ) ) , ann . getTypeName ( ) . equals ( "AnnotationEnumElement" ) ) ; List l = ann . getValues ( ) ; assertTrue ( ( "Should<seq2seq4repair_space>be<seq2seq4repair_space>one<seq2seq4repair_space>value<seq2seq4repair_space>but<seq2seq4repair_space>there<seq2seq4repair_space>were<seq2seq4repair_space>" + ( l . size ( ) ) ) , ( ( l . size ( ) ) == 1 ) ) ; ElementNameValuePair nvp = ( ( ElementNameValuePair ) ( l . get ( 0 ) ) ) ; assertTrue ( ( "Name<seq2seq4repair_space>of<seq2seq4repair_space>element<seq2seq4repair_space>should<seq2seq4repair_space>be<seq2seq4repair_space>'enumval'<seq2seq4repair_space>but<seq2seq4repair_space>was<seq2seq4repair_space>" + ( nvp . getNameString ( ) ) ) , nvp . getNameString ( ) . equals ( "enumval" ) ) ; ElementValue ev = nvp . getValue ( ) ; assertTrue ( ( "Should<seq2seq4repair_space>be<seq2seq4repair_space>of<seq2seq4repair_space>type<seq2seq4repair_space>EnumElementValue<seq2seq4repair_space>but<seq2seq4repair_space>is<seq2seq4repair_space>" + ev ) , ( ev instanceof EnumElementValue ) ) ; EnumElementValue eev = ( ( EnumElementValue ) ( ev ) ) ; assertTrue ( ( "Should<seq2seq4repair_space>be<seq2seq4repair_space>an<seq2seq4repair_space>enum<seq2seq4repair_space>type<seq2seq4repair_space>value<seq2seq4repair_space>but<seq2seq4repair_space>is<seq2seq4repair_space>" + ( eev . getElementValueType ( ) ) ) , ( ( eev . getElementValueType ( ) ) == ( SimpleElementValue . ENUM_CONSTANT ) ) ) ; <START_BUG> assertTrue ( ( "Enum<seq2seq4repair_space>type<seq2seq4repair_space>for<seq2seq4repair_space>annotation<seq2seq4repair_space>should<seq2seq4repair_space>be<seq2seq4repair_space>'SimpleEnum'<seq2seq4repair_space>but<seq2seq4repair_space>is<seq2seq4repair_space>" + ( eev . getEnumTypeString ( ) ) ) , eev . getEnumTypeString ( ) . equals ( "SimpleEnum" ) ) ; <END_BUG> assertTrue ( ( ( "String<seq2seq4repair_space>value<seq2seq4repair_space>should<seq2seq4repair_space>be<seq2seq4repair_space>'Red'<seq2seq4repair_space>but<seq2seq4repair_space>was<seq2seq4repair_space>'" + ( eev . getEnumValueString ( ) ) ) + "'" ) , eev . getEnumValueString ( ) . equals ( "Red" ) ) ; } public void testAnnotationArraysOfAnnotations ( ) throws ClassNotFoundException { } public void testAnnotationArraysOfAnnotationsReadWrite ( ) throws IOException , ClassNotFoundException { } private void checkCombinedAnnotation ( Annotation ann ) { } protected void tearDown ( ) throws Exception { } }

Fix:
assertTrue ( ( "Enum<seq2seq4repair_space>type<seq2seq4repair_space>for<seq2seq4repair_space>annotation<seq2seq4repair_space>should<seq2seq4repair_space>be<seq2seq4repair_space>'SimpleEnum'<seq2seq4repair_space>but<seq2seq4repair_space>is<seq2seq4repair_space>" + ( Utility . signatureToString ( eev . getEnumTypeString ( ) ) ) ) , Utility . signatureToString ( eev . getEnumTypeString ( ) ) . equals ( "SimpleEnum" ) ) ;