denis.st
03/09/2016, 3:51 PMifPlanted function as an optimization helper, which in turn rely on Timber.treeCount() != 0. But treeCount (i.e. ArrayList.size()) is not a constant value, and compiler cannot be sure which value treeCount will have at runtime to eliminate anything.