You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Dear Doop developers,
Hello!
I've encountered a problem regarding type handling while using Doop. When dealing with data structures containing the List type, I'm not sure how to accurately obtain the specific type information of the elements contained within the List type. For example, if I have a List, I hope there's a way to determine that the elements in this List are of the Integer type within the Doop framework.
Thank you very much for taking the time to answer my question. I'm looking forward to your reply and guidance.
Thank you!
The text was updated successfully, but these errors were encountered:
Java's data structures lose the type information at bytecode level due to type erasure, e.g., List becomes List. Since Doop uses facts generated from Java bytecode it is not possible to recover this information accurately, you could only do so with some sort of heuristic.
As for the flag you mentioned, --generate-artifacts-map generates a map between classes and their containing jar files, it's not related to what you are looking for.
Dear Doop developers,
Hello!
I've encountered a problem regarding type handling while using Doop. When dealing with data structures containing the List type, I'm not sure how to accurately obtain the specific type information of the elements contained within the List type. For example, if I have a List, I hope there's a way to determine that the elements in this List are of the Integer type within the Doop framework.
Thank you very much for taking the time to answer my question. I'm looking forward to your reply and guidance.
Thank you!
The text was updated successfully, but these errors were encountered: