AnnualDividendCalculator() {
}
void analyzeTransaction(@NotNull TransactionValues transactionValues) {
InvestTxnType transType = TxnUtil.getInvestTxnType(transactionValues.getParentTxn());
boolean isDividend = dividendTypes.contains(transType) && transactionValues.getIncome() != 0;
updateBasisTransactions(transactionValues);
if (isDividend) updateDividendTransactions(transactionValues);
}