Quantcast

Resolving unresolved IMethod signatures?

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Resolving unresolved IMethod signatures?

Marc Hoffmann
Dear JDT experts,

for the EclEmma project (which recently became a eclipse.org project) we
have the requirement to resolve IMethod signatures to map unresolved
IMethod objects from Java source to the corresponding binary signature
retrieved from the code coverage runtime.

Currently we have our own implementation which is quite complex and
probably has some bug (e.g. https://bugs.eclipse.org/513294).

Question: Is there a existing API or best practice to resolve unresolved
IMethod signatures?

Thanks for your time,
-marc

_______________________________________________
jdt-dev mailing list
[hidden email]
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/jdt-dev
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Resolving unresolved IMethod signatures?

Stephan Herrmann-2
Hi Marc,

To me this sounds exactly like this current request:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=502563

Jay's current proposal in that bug looks similar to what
you already have in SignatureResolver.resolveType()
- and Jay already remarked that the approach is inherently
uncertain :(

Perhaps you want to join the discussion in that bug?
Maybe your example will also help to improve the understanding
of what might be needed?
Given your implementation, the problem you are seeing _could_
also be a bug in JDT.

best,
Stephan

On 03/08/2017 10:54 AM, Marc Hoffmann wrote:

> Dear JDT experts,
>
> for the EclEmma project (which recently became a eclipse.org project) we have the requirement to resolve IMethod signatures to map
> unresolved IMethod objects from Java source to the corresponding binary signature retrieved from the code coverage runtime.
>
> Currently we have our own implementation which is quite complex and probably has some bug (e.g. https://bugs.eclipse.org/513294).
>
> Question: Is there a existing API or best practice to resolve unresolved IMethod signatures?
>
> Thanks for your time,
> -marc
>
> _______________________________________________
> jdt-dev mailing list
> [hidden email]
> To change your delivery options, retrieve your password, or unsubscribe from this list, visit
> https://dev.eclipse.org/mailman/listinfo/jdt-dev

_______________________________________________
jdt-dev mailing list
[hidden email]
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/jdt-dev
Loading...