Created by: liuyang-li
Summary: The version of PMD that we use dose not handle varargs properly, and hit errors while processing them. We update the varargs to Lists. This also avoids arrays and array-list conversions. There is no functional changes in the change set.
Test: ant clean lint && ant && buck test