Buggy code:
private boolean couldEverMatchSameJoinPoints ( Pointcut left , Pointcut right ) { } private Pointcut findFirstPointcutIn ( Pointcut toSearch , Class toLookFor ) { } private void raiseNegationBindingError ( Pointcut userPointcut ) { } private void raiseAmbiguousBindingError ( String name , Pointcut userPointcut ) { } private void raiseAmbiguityInDisjunctionError ( Pointcut userPointcut , List names ) { } private void raiseUnboundFormalError ( String name , Pointcut userPointcut ) { } public void addManifest ( Manifest newManifest ) { } public static final String MANIFEST_NAME = "META-INF//MANIFEST.MF" ; private static final String WEAVER_MANIFEST_VERSION = "1.0" ; private static final Attributes . Name CREATED_BY = new Attributes . Name ( "Created-By" ) ; private static final String WEAVER_CREATED_BY = "AspectJ<seq2seq4repair_space>Compiler" ; public Manifest getManifest ( boolean shouldCreate ) { } public Collection weave ( File file ) throws IOException { } public Collection weave ( IClassFileProvider input ) throws IOException { Collection wovenClassNames = new ArrayList ( ) ; IWeaveRequestor requestor = input . getRequestor ( ) ; requestor . processingReweavableState ( ) ; prepareToProcessReweavableState ( ) ; for ( Iterator i = input . getClassFileIterator ( ) ; i . hasNext ( ) ; ) { UnwovenClassFile classFile = ( ( UnwovenClassFile ) ( i . next ( ) ) ) ; String className = classFile . getClassName ( ) ; BcelObjectType classType = getClassType ( className ) ; processReweavableStateIfPresent ( className , classType ) ; } requestor . addingTypeMungers ( ) ; List typesToProcess = new ArrayList ( ) ; for ( Iterator iter = input . getClassFileIterator ( ) ; iter . hasNext ( ) ; ) { UnwovenClassFile clf = ( ( UnwovenClassFile ) ( iter . next ( ) ) ) ; typesToProcess . add ( clf . getClassName ( ) ) ; } while ( ( typesToProcess . size ( ) ) > 0 ) { weaveParentsFor ( typesToProcess , ( ( String ) ( typesToProcess . get ( 0 ) ) ) ) ; } for ( Iterator i = input . getClassFileIterator ( ) ; i . hasNext ( ) ; ) { UnwovenClassFile classFile = ( ( UnwovenClassFile ) ( i . next ( ) ) ) ; String className = classFile . getClassName ( ) ; addNormalTypeMungers ( className ) ; } requestor . weavingAspects ( ) ; for ( Iterator i = input . getClassFileIterator ( ) ; i . hasNext ( ) ; ) { UnwovenClassFile classFile = ( ( UnwovenClassFile ) ( i . next ( ) ) ) ; String className = classFile . getClassName ( ) ; BcelObjectType classType = BcelWorld . getBcelObjectType ( world . resolve ( className ) ) ; if ( classType . isAspect ( ) ) { weaveAndNotify ( classFile , classType , requestor ) ; wovenClassNames . add ( className ) ; } } requestor . weavingClasses ( ) ; for ( Iterator i = input . getClassFileIterator ( ) ; i . hasNext ( ) ; ) { UnwovenClassFile classFile = ( ( UnwovenClassFile ) ( i . next ( ) ) ) ; String className = classFile . getClassName ( ) ; BcelObjectType classType = BcelWorld . getBcelObjectType ( world . resolve ( className ) ) ; if ( ! ( classType . isAspect ( ) ) ) { weaveAndNotify ( classFile , classType , requestor ) ; wovenClassNames . add ( className ) ; } } addedClasses = new ArrayList ( ) ; deletedTypenames = new ArrayList ( ) ; <START_BUG> if ( ( world . behaveInJava5Way ) && ( world . getLint ( ) . adviceDidNotMatch . isEnabled ( ) ) ) { <END_BUG> List l = world . getCrosscuttingMembersSet ( ) . getShadowMungers ( ) ; for ( Iterator iter = l . iterator ( ) ; iter . hasNext ( ) ; ) { ShadowMunger element = ( ( ShadowMunger ) ( iter . next ( ) ) ) ; if ( element instanceof BcelAdvice ) { BcelAdvice ba = ( ( BcelAdvice ) ( element ) ) ; if ( ! ( ba . hasMatchedSomething ( ) ) ) { if ( ( ba . getSignature ( ) ) != null ) { if ( ( ! ( ( ba . getSignature ( ) ) instanceof BcelMethod ) ) || ( ! ( Utility . isSuppressing ( ( ( AnnotationX [ ] ) ( ba . getSignature ( ) . getAnnotations ( ) ) ) , "adviceDidNotMatch" ) ) ) ) { world . getLint ( ) . adviceDidNotMatch . signal ( ba . getDeclaringAspect ( ) . toString ( ) , element . getSourceLocation ( ) ) ; } } } } } } requestor . weaveCompleted ( ) ; return wovenClassNames ; } private void weaveParentsFor ( List typesForWeaving , String typeToWeave ) { } public void prepareToProcessReweavableState ( ) { } public void processReweavableStateIfPresent ( String className , BcelObjectType classType ) { } private void weaveAndNotify ( UnwovenClassFile classFile , BcelObjectType classType , IWeaveRequestor requestor ) throws IOException { } public BcelObjectType getClassType ( String forClass ) { } public void addParentTypeMungers ( String typeName ) { } public void addNormalTypeMungers ( String typeName ) { } public UnwovenClassFile [ ] getClassFilesFor ( LazyClassGen clazz ) { } public void weaveParentTypeMungers ( ResolvedType onType ) { } private boolean applyDeclareAtType ( DeclareAnnotation decA , ResolvedType onType , boolean reportProblems ) { } private boolean verifyTargetIsOK ( DeclareAnnotation decA , ResolvedType onType , AnnotationX annoX , boolean outputProblems ) { } private boolean applyDeclareParents ( DeclareParents p , ResolvedType onType ) { } public void weaveNormalTypeMungers ( ResolvedType onType ) { } public LazyClassGen weaveWithoutDump ( UnwovenClassFile classFile , BcelObjectType classType ) throws IOException { } LazyClassGen weave ( UnwovenClassFile classFile , BcelObjectType classType ) throws IOException { } private LazyClassGen weave ( UnwovenClassFile classFile , BcelObjectType classType , boolean dump ) throws IOException { }

Fix:
if ( ( world . isInJava5Mode ( ) ) && ( world . getLint ( ) . adviceDidNotMatch . isEnabled ( ) ) ) {