for (JCVariableDecl varDecl : decls) {
int extraDims = countDims(varDecl.vartype) - baseDims;
VariableDefinitionEntry entry = new VariableDefinitionEntry();
entry.astArrayDimensions(extraDims);
entry.astName(setPos(varDecl, new Identifier().astValue(varDecl.name.toString())));
entry.rawInitializer(toTree(varDecl.init));
setPos(varDecl, entry);
if (extraDims > 0) {
JCArrayTypeTree arrayType = (JCArrayTypeTree) varDecl.vartype;
for (int i = 0; i < extraDims; i++) {
if (arrayType != null) setConversionPositionInfo(entry, "[]" + (extraDims - i - 1), getPosition(arrayType));