annotation = stockExpensesAnnotation;
addDefaultValuesToAnnotation(annotation,
bookSelection.getSelectedBook(), currentYear,
annotationsFilter);
} else if (annotationType.equals(AnnotationType.INCOME)) {
IncomeAnnotation stockIncomeAnnotation = new GeneralIncomeAnnotation();
annotation = stockIncomeAnnotation;
addDefaultValuesToAnnotation(annotation,
bookSelection.getSelectedBook(), currentYear,
annotationsFilter);
}