Trojan.Gen.2 is more of a generic/newer detection signature. Here is a writeup on it:
https://www.symantec.com/security_response/writeup.jsp?docid=2011-082216-3542-99
In any event SEP detected it as a piece of code within it seems to have characteristics of malware. I would send this to them for whitelisting and report a false postive:
https://submit.symantec.com/whitelist/
https://submit.symantec.com/false_positive/
If you can, sign your application.