for (SimpleNode n : classNode.bases) {
n.accept(findLastLineVisitor);
}
}
SimpleNode lastNode = findLastLineVisitor.getLastNode();
ISpecialStr lastSpecialStr = findLastLineVisitor.getLastSpecialStr();
if (lastSpecialStr != null
&& (lastSpecialStr.toString().equals(":") || lastSpecialStr.toString().equals(")"))) {
// it was an from xxx import (euheon, utehon)
return lastSpecialStr.getBeginLine();
} else {
return lastNode.beginLine;
}
} catch (Exception e) {
Log.log(e);