[Demonstration 1]

[Buggy Method]
@Override
public int visit(IASTTypeId typeId) {
    ISourceLocation loc = getSourceLocation(typeId);
    if (typeId instanceof IASTProblemTypeId) {
        if (typeId.getRawSignature().equals("..."))
            stack.push(builder.Expression_typeId(builder.DeclSpecifier_msThrowEllipsis(loc, vf.sourceLocation("unknown:///")), loc));
        else
            throw new RuntimeException("IASTProblemTypeId encountered! " + ((IASTProblemTypeId) typeId).getProblem().getMessageWithLocation());
    } else {
        IASTDeclSpecifier _declSpecifier = typeId.getDeclSpecifier();
        IASTDeclarator _abstractDeclarator = typeId.getAbstractDeclarator();
        _declSpecifier.accept(this);
        IConstructor declSpecifier = stack.pop();
        _abstractDeclarator.accept(this);
        IConstructor abstractDeclarator = stack.pop();
        stack.push(builder.Expression_typeId(declSpecifier, abstractDeclarator.set("name", builder.Expression_abstractEmptyName(loc)), loc));
    }
    return PROCESS_ABORT;
}

[Buggy Hunk]
abstractDeclarator.set("name", builder.Expression_abstractEmptyName(loc)), loc));

[Patch]
abstractDeclarator.set(2, builder.Expression_abstractEmptyName(loc)), loc));

[Demonstration 2]

[Buggy Method]
@Override
public void initialize(URL location, ResourceBundle resources) {
    // Add developer tools
    BrowserPreferences.setChromiumSwitches("--remote-debugging-port=9222");
    babelNetManager = new BabelNetManager();
    browser = new Browser();
    boardView = new BrowserView(browser);
    AnchorPane.setTopAnchor(boardView, 0.0);
    AnchorPane.setBottomAnchor(boardView, 0.0);
    AnchorPane.setLeftAnchor(boardView, 0.0);
    AnchorPane.setRightAnchor(boardView, 0.0);
    boardPane.getChildren().add(boardView);
    // Add javaApp object to javascript.
    browser.addScriptContextListener(new ScriptContextAdapter() {

        @Override
        public void onScriptContextCreated(ScriptContextEvent event) {
            Browser browser = event.getBrowser();
            JSValue window = browser.executeJavaScriptAndReturnValue("window");
            window.asObject().setProperty("javaApp", new JavaApp());
        }
    });
}

[Buggy Hunk]
boardView = new BrowserView(browser);

[Patch]
BrowserView boardView = new BrowserView(browser);

[Demonstration 3]

[Buggy Method]
private void getFieldsInformation() {
    Long tsLong = System.currentTimeMillis() / 1000;
    timestamp = tsLong.toString();
    testingDate = String.valueOf(datepicker.getYear()) + "," + String.valueOf(datepicker.getMonth()) + "," + String.valueOf(datepicker.getDayOfMonth());
}

[Buggy Hunk]
testingDate = String.valueOf(datepicker.getYear()) + "," + String.valueOf(datepicker.getMonth()) + "," + String.valueOf(datepicker.getDayOfMonth());

[Patch]
testingDate = String.valueOf(datepicker.getYear()) + "," + String.valueOf(datepicker.getMonth() + 1) + "," + String.valueOf(datepicker.getDayOfMonth());