[Demonstration 1]

[Buggy Method]
public ArrayList<EventEntity> getEventList() {
    DatabaseHandler db = new DatabaseHandler(context);
    return db.getAllEvents();
}

[Buggy Hunk]
DatabaseHandler db = new DatabaseHandler(context);

[Patch]
DatabaseHandler db = new DatabaseHandler(this);

[Demonstration 2]

[Buggy Method]
public String getMethodName() {
    return annotation.method();
}

[Buggy Hunk]
return annotation.method();

[Patch]
return queryAnnotation.method();

[Demonstration 3]

[Buggy Method]
public FormValidation doCheckMethod(@QueryParameter String method) {
    if (method != "scpb") {
        return FormValidation.error("This method is not supported yet");
    } else {
        return FormValidation.ok();
    }
}

[Buggy Hunk]
if (method != "scpb") {

[Patch]
if (!method.equals("scpb")) {