[Soot-list] Why does the API "isEnum()" in SootClass not work?

周书林 zhoushulin1992 at gmail.com
Sun Aug 12 05:32:49 EDT 2018


Hi,

I want to judge whether a SootClass is a Enumeration. There is a API "
*isEnum()*" in the official document in "
https://soot-build.cs.uni-paderborn.de/public/origin/develop/soot/soot-develop/jdoc/soot/SootClass.html
".

However, when I tried to use this API, I got a exception:

Exception in thread "main" java.lang.Error: Unresolved compilation problem:

The method isEnum() is undefined for the type SootClass


Why does this API not work? Thank for your help.

Sincerely,
Sep
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.CS.McGill.CA/pipermail/soot-list/attachments/20180812/d831cc9e/attachment.html>


More information about the Soot-list mailing list