private int getLineNr(Obj obj) {
int lineNr = -1;
if (obj.meta() == null) {
return lineNr;
}
IMapEntry line = obj.meta().entryAt(KEYWORD_LINE);
if (line != null && line.val() instanceof Number) {
lineNr = ((Number) line.val()).intValue();
}
return lineNr;
}