change if statement in PMDAnalyzer