ArrayList<Long> lines = new ArrayList<Long>();
if (exprTree.getKind() == Kind.STRING_LITERAL) {
long pos = positions.getStartPosition(unitTree, exprTree);
lines.add(lineMap.getLineNumber(pos));
} else {
NewArrayTree valuesTree = (NewArrayTree) exprTree;
for (ExpressionTree valueTree : valuesTree.getInitializers()) {
long pos = positions.getStartPosition(unitTree, valueTree);
lines.add(lineMap.getLineNumber(pos));
}
}