[Soot-list] method getLineNumber() is undefined for the type LineNumberTag

DIVYA IYER sirius.strider at gmail.com
Wed Nov 17 16:12:47 EST 2010


I am getting the following error:
The method getLineNumber() is undefined for the type LineNumberTag in the
line of code below:

LineNumberTag tag2 = (LineNumberTag)unit.getTag("
LineNumberTag");
if(tag2 != null)
{
System.out.println(tag2.getLineNumber());
}

The other methods of LineNumberTag like toString, getValue and getName seem
to be working without any errors.

Could anybody tell me what is the problem here?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.cs.mcgill.ca/pipermail/soot-list/attachments/20101117/9b0e8408/attachment.html 


More information about the Soot-list mailing list