Buggy code:
Collection < Pair < MethodRepr , ClassRepr > > findOverridenMethods ( final MethodRepr m , final ClassRepr c , final boolean bySpecificity ) { } Collection < Pair < MethodRepr , ClassRepr > > findAllMethodsBySpecificity ( final MethodRepr m , final ClassRepr c ) { } Collection < Pair < FieldRepr , ClassRepr > > findOverridenFields ( final FieldRepr f , final ClassRepr c ) { } ClassRepr reprByName ( final DependencyContext . S name ) { } Mappings . Option < Boolean > isInheritorOf ( final DependencyContext . S who , final DependencyContext . S whom ) { } Mappings . Option < Boolean > isSubtypeOf ( final TypeRepr . AbstractType who , final TypeRepr . AbstractType whom ) { } boolean methodVisible ( final DependencyContext . S className , final MethodRepr m ) { } boolean fieldVisible ( final DependencyContext . S className , final FieldRepr field ) { } void affectSubclasses ( final DependencyContext . S className , final Collection < File > affectedFiles , final Collection < UsageRepr . Usage > affectedUsages , final Collection < DependencyContext . S > dependants , final boolean usages ) { } void affectFieldUsages ( final FieldRepr field , final Collection < DependencyContext . S > subclasses , final UsageRepr . Usage rootUsage , final java . util . Set < UsageRepr . Usage > affectedUsages , final java . util . Set < DependencyContext . S > dependents ) { } void affectMethodUsages ( final MethodRepr method , final Collection < DependencyContext . S > subclasses , final UsageRepr . Usage rootUsage , final java . util . Set < UsageRepr . Usage > affectedUsages , final java . util . Set < DependencyContext . S > dependents ) { } void affectAll ( final DependencyContext . S className , final Collection < File > affectedFiles ) { } public abstract class UsageConstraint { public abstract boolean checkResidence ( final DependencyContext . S residence ) { } } public class PackageConstraint extends Mappings . Util . UsageConstraint { public final String packageName ; public PackageConstraint ( final String packageName ) { } @ Override public boolean checkResidence ( final DependencyContext . S residence ) { } } public class InheritanceConstraint extends Mappings . Util . PackageConstraint { public final S rootClass ; public InheritanceConstraint ( final DependencyContext . S rootClass ) { } @ Override public boolean checkResidence ( final DependencyContext . S residence ) { } } public class NegationConstraint extends Mappings . Util . UsageConstraint { final Mappings . Util . UsageConstraint x ; public NegationConstraint ( Mappings . Util . UsageConstraint x ) { } @ Override public boolean checkResidence ( final DependencyContext . S residence ) { } } public class IntersectionConstraint extends Mappings . Util . UsageConstraint { final Mappings . Util . UsageConstraint x ; final Mappings . Util . UsageConstraint y ; public IntersectionConstraint ( final Mappings . Util . UsageConstraint x , final Mappings . Util . UsageConstraint y ) { } @ Override public boolean checkResidence ( final DependencyContext . S residence ) { } } } private static boolean isPackageLocal ( final int access ) { } private static boolean weakerAccess ( final int me , final int then ) { } private static boolean isVisibleIn ( final ClassRepr c , final ProtoMember m , final ClassRepr scope ) { } private boolean empty ( final DependencyContext . S s ) { } private Collection < DependencyContext . S > getAllSubclasses ( final DependencyContext . S root ) { } private void addAllSubclasses ( final DependencyContext . S root , final Collection < DependencyContext . S > acc ) { } private boolean incrementalDecision ( final DependencyContext . S owner , final Proto member , final Collection < File > affectedFiles ) { final boolean isField = member instanceof FieldRepr ; final Mappings . Util self = new Mappings . Util ( this ) ; if ( ( ( member . access ) & ( Opcodes . ACC_PUBLIC ) ) > 0 ) { debug ( "Switched<seq2seq4repair_space>to<seq2seq4repair_space>non-incremental<seq2seq4repair_space>mode" ) ; return false ; } if ( ( ( member . access ) & ( Opcodes . ACC_PROTECTED ) ) > 0 ) { debug ( "Softening<seq2seq4repair_space>non-incremental<seq2seq4repair_space>decision:<seq2seq4repair_space>adding<seq2seq4repair_space>all<seq2seq4repair_space>relevant<seq2seq4repair_space>subclasses<seq2seq4repair_space>for<seq2seq4repair_space>a<seq2seq4repair_space>recompilation" ) ; final Collection < DependencyContext . S > propagated = self . propagateFieldAccess ( ( isField ? member . name : myContext . get ( "" ) ) , owner ) ; for ( DependencyContext . S className : propagated ) { affectedFiles . add ( new File ( myContext . getValue ( myClassToSourceFile . get ( className ) ) ) ) ; } } debug ( "Softening<seq2seq4repair_space>non-incremental<seq2seq4repair_space>decision:<seq2seq4repair_space>adding<seq2seq4repair_space>all<seq2seq4repair_space>package<seq2seq4repair_space>classes<seq2seq4repair_space>for<seq2seq4repair_space>a<seq2seq4repair_space>recompilation" ) ; final String packageName = ClassRepr . getPackageName ( myContext . getValue ( ( isField ? owner : member . name ) ) ) ; for ( Map . Entry < DependencyContext . S , DependencyContext . S > e : myClassToSourceFile . entrySet ( ) ) { final DependencyContext . S className = e . getKey ( ) ; final DependencyContext . S fileName = e . getValue ( ) ; if ( ClassRepr . getPackageName ( myContext . getValue ( className ) ) . equals ( packageName ) ) { affectedFiles . add ( new File ( myContext . getValue ( fileName ) ) ) ; } } <START_BUG> return false ; <END_BUG> } public boolean differentiate ( final Mappings delta , final Collection < String > removed , final Collection < File > filesToCompile , final Collection < File > compiledFiles , final Collection < File > affectedFiles ) { } public void integrate ( final Mappings delta , final Collection < File > compiled , final Collection < String > removed ) { } public Backend getCallback ( ) { } @ Nullable public java . util . Set < ClassRepr > getClasses ( final String sourceFileName ) { } public void close ( ) { } public void flush ( ) { } }

Fix:
return true ;