if (strNode != null) {
return NodeUtils.getLineEnd(strNode);
}
FindLastLineVisitor findLastLineVisitor = new FindLastLineVisitor();
try {
classNode.name.accept(findLastLineVisitor);
if (classNode.bases != null) {
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 {