Buggy code:
public class ReferencePointcut extends Pointcut { public TypeX onType ; public TypePattern onTypeSymbolic ; public String name ; public TypePatternList arguments ; public ReferencePointcut ( TypePattern onTypeSymbolic , String name , TypePatternList arguments ) { } public ReferencePointcut ( TypeX onType , String name , TypePatternList arguments ) { } public Set couldMatchKinds ( ) { } public FuzzyBoolean fastMatch ( FastMatchInfo type ) { } protected FuzzyBoolean matchInternal ( Shadow shadow ) { } public String toString ( ) { } public void write ( DataOutputStream s ) throws IOException { } public static Pointcut read ( VersionedDataInputStream s , ISourceContext context ) throws IOException { } public void resolveBindings ( IScope scope , Bindings bindings ) { if ( ( onTypeSymbolic ) != null ) { onType = onTypeSymbolic . resolveExactType ( scope , bindings ) ; if ( ( onType ) == ( ResolvedTypeX . MISSING ) ) return ; } ResolvedTypeX searchType ; if ( ( onType ) != null ) { searchType = scope . getWorld ( ) . resolve ( onType ) ; } else { searchType = scope . getEnclosingType ( ) ; } arguments . resolveBindings ( scope , bindings , true , true ) ; ResolvedPointcutDefinition pointcutDef = searchType . findPointcut ( name ) ; if ( ( pointcutDef == null ) && ( ( onType ) == null ) ) { while ( true ) { TypeX declaringType = searchType . getDeclaringType ( ) ; if ( declaringType == null ) break ; searchType = declaringType . resolve ( scope . getWorld ( ) ) ; pointcutDef = searchType . findPointcut ( name ) ; if ( pointcutDef != null ) { onType = searchType ; break ; } } } if ( pointcutDef == null ) { <START_BUG> scope . message ( ERROR , this , "can't<seq2seq4repair_space>find<seq2seq4repair_space>referenced<seq2seq4repair_space>pointcut" ) ; <END_BUG> return ; } if ( ! ( pointcutDef . isVisible ( scope . getEnclosingType ( ) ) ) ) { scope . message ( ERROR , this , ( ( "pointcut<seq2seq4repair_space>declaration<seq2seq4repair_space>" + pointcutDef ) + "<seq2seq4repair_space>is<seq2seq4repair_space>not<seq2seq4repair_space>accessible" ) ) ; return ; } if ( Modifier . isAbstract ( pointcutDef . getModifiers ( ) ) ) { if ( ( onType ) != null ) { scope . message ( ERROR , this , "can't<seq2seq4repair_space>make<seq2seq4repair_space>static<seq2seq4repair_space>reference<seq2seq4repair_space>to<seq2seq4repair_space>abstract<seq2seq4repair_space>pointcut" ) ; return ; } else if ( ! ( searchType . isAbstract ( ) ) ) { scope . message ( ERROR , this , "can't<seq2seq4repair_space>use<seq2seq4repair_space>abstract<seq2seq4repair_space>pointcut<seq2seq4repair_space>in<seq2seq4repair_space>concrete<seq2seq4repair_space>context" ) ; return ; } } ResolvedTypeX [ ] parameterTypes = scope . getWorld ( ) . resolve ( pointcutDef . getParameterTypes ( ) ) ; if ( ( parameterTypes . length ) != ( arguments . size ( ) ) ) { scope . message ( ERROR , this , ( ( ( "incompatible<seq2seq4repair_space>number<seq2seq4repair_space>of<seq2seq4repair_space>arguments<seq2seq4repair_space>to<seq2seq4repair_space>pointcut,<seq2seq4repair_space>expected<seq2seq4repair_space>" + ( parameterTypes . length ) ) + "<seq2seq4repair_space>found<seq2seq4repair_space>" ) + ( arguments . size ( ) ) ) ) ; return ; } for ( int i = 0 , len = arguments . size ( ) ; i < len ; i ++ ) { TypePattern p = arguments . get ( i ) ; if ( p == ( TypePattern . NO ) ) { scope . message ( ERROR , this , "bad<seq2seq4repair_space>parameter<seq2seq4repair_space>to<seq2seq4repair_space>pointcut<seq2seq4repair_space>reference" ) ; return ; } if ( ( ! ( p . matchesSubtypes ( parameterTypes [ i ] ) ) ) && ( ! ( p . getExactType ( ) . equals ( OBJECT ) ) ) ) { scope . message ( ERROR , p , ( ( ( "incompatible<seq2seq4repair_space>type,<seq2seq4repair_space>expected<seq2seq4repair_space>" + ( parameterTypes [ i ] . getName ( ) ) ) + "<seq2seq4repair_space>found<seq2seq4repair_space>" ) + p ) ) ; return ; } } } public void resolveBindingsFromRTTI ( ) { } public void postRead ( ResolvedTypeX enclosingType ) { } protected Test findResidueInternal ( Shadow shadow , ExposedState state ) { } private boolean concretizing = false ; public Pointcut concretize1 ( ResolvedTypeX searchStart , IntMap bindings ) { } protected boolean shouldCopyLocationForConcretize ( ) { } public boolean equals ( Object other ) { } public int hashCode ( ) { } }

Fix:
scope . message ( ERROR , this , ( "can't<seq2seq4repair_space>find<seq2seq4repair_space>referenced<seq2seq4repair_space>pointcut<seq2seq4repair_space>" + ( name ) ) ) ;