Buggy code:
private List addedThisInitializers = new ArrayList ( ) ; private List addedClassInitializers = new ArrayList ( ) ; private Map mapToAnnotations = new HashMap ( ) ; private BcelShadow clinitShadow = null ; private final List initializationShadows = new ArrayList ( 1 ) ; private BcelClassWeaver ( BcelWorld world , LazyClassGen clazz , List shadowMungers , List typeMungers , List lateTypeMungers ) { } private List [ ] perKindShadowMungers ; private boolean canMatchBodyShadows = false ; private boolean canMatchInitialization = false ; private void fastMatchShadowMungers ( List shadowMungers ) { } private boolean canMatch ( Shadow . Kind kind ) { } private void fastMatchShadowMungers ( List shadowMungers , ArrayList mungers , Kind kind ) { } private void initializeSuperInitializerMap ( ResolvedType child ) { } private boolean addSuperInitializer ( ResolvedType onType ) { } public void addInitializer ( ConcreteTypeMunger cm ) { } private static class IfaceInitList implements PartialOrder . PartialComparable { final ResolvedType onType ; List list = new ArrayList ( ) ; IfaceInitList ( ResolvedType onType ) { } public int compareTo ( Object other ) { } public int fallbackCompareTo ( Object other ) { } } public boolean addDispatchTarget ( ResolvedMember m ) { } public void addLazyMethodGen ( LazyMethodGen gen ) { } public void addOrReplaceLazyMethodGen ( LazyMethodGen mg ) { } private boolean alreadyDefined ( LazyClassGen clazz , LazyMethodGen mg ) { } private boolean signaturesMatch ( LazyMethodGen mg , LazyMethodGen existing ) { } public boolean weave ( ) { } private boolean weaveDeclareAtMethodCtor ( LazyClassGen clazz ) { } private void reportMethodCtorWeavingMessage ( LazyClassGen clazz , LazyMethodGen mg , DeclareAnnotation decaM ) { } private List getMatchingSubset ( List declareAnnotations , ResolvedType type ) { } private List getITDSubset ( LazyClassGen clazz , ResolvedTypeMunger . Kind wantedKind ) { } public LazyMethodGen locateAnnotationHolderForFieldMunger ( LazyClassGen clazz , BcelTypeMunger fieldMunger ) { } public LazyMethodGen locateAnnotationHolderForMethodCtorMunger ( LazyClassGen clazz , BcelTypeMunger methodCtorMunger ) { } private boolean weaveAtFieldRepeatedly ( List decaFs , List itdFields , List reportedErrors ) { } private boolean weaveAtMethodOnITDSRepeatedly ( List decaMCs , List itdMethodsCtors , List reportedErrors ) { } private boolean weaveDeclareAtField ( LazyClassGen clazz ) { } private void reportFieldAnnotationWeavingMessage ( LazyClassGen clazz , Field [ ] fields , int fieldCounter , DeclareAnnotation decaF ) { } private boolean doesAlreadyHaveAnnotation ( ResolvedMember rm , DeclareAnnotation deca , List reportedProblems ) { } private boolean doesAlreadyHaveAnnotation ( LazyMethodGen rm , ResolvedMember itdfieldsig , DeclareAnnotation deca , List reportedProblems ) { } private Set findAspectsForMungers ( LazyMethodGen mg ) { } private boolean inlineSelfConstructors ( List methodGens ) { } private void positionAndImplement ( List initializationShadows ) { } private void positionInitializationShadow ( BcelShadow s ) { } private boolean isThisCall ( InstructionHandle ih ) { } public static void inlineMethod ( LazyMethodGen donor , LazyMethodGen recipient , InstructionHandle call ) { } static InstructionList genInlineInstructions ( LazyMethodGen donor , LazyMethodGen recipient , IntMap frameEnv , InstructionFactory fact , boolean keepReturns ) { } private static InstructionList genArgumentStores ( LazyMethodGen donor , LazyMethodGen recipient , IntMap frameEnv , InstructionFactory fact ) { } private LazyMethodGen getCalledMethod ( InstructionHandle ih ) { } private void weaveInAddedMethods ( ) { } void addPerSingletonField ( Member field ) { } private InstructionHandle findSuperOrThisCall ( LazyMethodGen mg ) { } private boolean match ( LazyMethodGen mg ) { } private boolean matchInit ( LazyMethodGen mg , List shadowAccumulator ) { } private boolean shouldWeaveBody ( LazyMethodGen mg ) { } private InstructionList genInitInstructions ( List list , boolean isStatic ) { } private void match ( LazyMethodGen mg , InstructionHandle ih , BcelShadow enclosingShadow , List shadowAccumulator ) { } private boolean isInitFailureHandler ( InstructionHandle ih ) { } private void matchSetInstruction ( LazyMethodGen mg , InstructionHandle ih , BcelShadow enclosingShadow , List shadowAccumulator ) { } private void matchGetInstruction ( LazyMethodGen mg , InstructionHandle ih , BcelShadow enclosingShadow , List shadowAccumulator ) { } private void fixAnnotationsForResolvedMember ( ResolvedMember rm , ResolvedMember declaredSig ) { } private void matchInvokeInstruction ( LazyMethodGen mg , InstructionHandle ih , InvokeInstruction invoke , BcelShadow enclosingShadow , List shadowAccumulator ) { String methodName = invoke . getName ( cpg ) ; if ( methodName . startsWith ( PREFIX ) ) { <START_BUG> Member method = BcelWorld . makeMethodSignature ( clazz , invoke ) ; <END_BUG> ResolvedMember declaredSig = method . resolve ( world ) ; if ( declaredSig == null ) return ; if ( ( declaredSig . getKind ( ) ) == ( Member . FIELD ) ) { Shadow . Kind kind ; if ( method . getReturnType ( ) . equals ( VOID ) ) { kind = Shadow . FieldSet ; } else { kind = Shadow . FieldGet ; } if ( ( canMatch ( FieldGet ) ) || ( canMatch ( FieldSet ) ) ) match ( BcelShadow . makeShadowForMethodCall ( world , mg , ih , enclosingShadow , kind , declaredSig ) , shadowAccumulator ) ; } else { AjAttribute . EffectiveSignatureAttribute effectiveSig = declaredSig . getEffectiveSignature ( ) ; if ( effectiveSig == null ) return ; if ( effectiveSig . isWeaveBody ( ) ) return ; ResolvedMember rm = effectiveSig . getEffectiveSignature ( ) ; fixAnnotationsForResolvedMember ( rm , declaredSig ) ; if ( canMatch ( effectiveSig . getShadowKind ( ) ) ) match ( BcelShadow . makeShadowForMethodCall ( world , mg , ih , enclosingShadow , effectiveSig . getShadowKind ( ) , rm ) , shadowAccumulator ) ; } } else { if ( canMatch ( MethodCall ) ) match ( BcelShadow . makeMethodCall ( world , mg , ih , enclosingShadow ) , shadowAccumulator ) ; } } private boolean match ( BcelShadow shadow , List shadowAccumulator ) { } private void implement ( LazyMethodGen mg ) { } public LazyClassGen getLazyClassGen ( ) { } public List getShadowMungers ( ) { } public BcelWorld getWorld ( ) { } public static void setReweavableMode ( boolean mode , boolean compress ) { } }

Fix:
Member method = world . makeMethodSignature ( clazz , invoke ) ;