package org.mutabilitydetector.benchmarks.visibility;

public final class EffectivelyImmutable {

    public int effectivelyFinal;
    
    public EffectivelyImmutable(int x) {
        this.effectivelyFinal = x;
    }
    
    public int getEffectivelyFinal() {
        return effectivelyFinal;
    }
}

package org.mutabilitydetector.benchmarks.visibility;

public final class EffectivelyImmutable {

    public final int effectivelyFinal;
    
    public EffectivelyImmutable(int x) {
        this.effectivelyFinal = x;
    }
    
    public int getEffectivelyFinal() {
        return effectivelyFinal;
    }
}

Add the final modifier that I accidentally left in.