[Demonstration 1]

[Buggy Method]
public void setContentColor(@ColorRes int colorId) {
    mHorizontalLineColor = colorId;
}

[Buggy Hunk]
mHorizontalLineColor = colorId;

[Patch]
mListViewBackColor = ContextCompat.getColor(mContext, colorId);

[Demonstration 2]

[Buggy Method]
private boolean hasNext() {
    return !variables.isEmpty();
}

[Buggy Hunk]
return !variables.isEmpty();

[Patch]
return !variableQueue.isEmpty();

[Demonstration 3]

[Buggy Method]
@Override
public boolean visit(FieldAccess node) {
    IVariableBinding b = node.resolveFieldBinding();
    ITypeBinding tb = null;
    if (b != null) {
        tb = b.getDeclaringClass();
        if (tb != null) {
            tb = tb.getTypeDeclaration();
            if (tb.isLocal() || tb.getQualifiedName().isEmpty())
                return false;
        }
    }
    this.fullTokens.append(" ");
    this.partialTokens.append(" ");
    node.getExpression().accept(this);
    String name = "." + node.getName().getIdentifier();
    this.partialTokens.append(" " + name + " ");
    if (b != null) {
        if (tb != null)
            name = tb.getTypeDeclaration().getQualifiedName() + name;
        /*else
				name = "Array" + name;*/
    }
    this.fullTokens.append(" " + name + " ");
    return false;
}

[Buggy Hunk]
name = tb.getTypeDeclaration().getQualifiedName() + name;

[Patch]
name = getQualifiedName(tb.getTypeDeclaration()) + name;