Re: Late binding of integer constants?

Simon IJskes <[email protected]> Thu, 16 Nov 2017 14:55:13 +0100
Newsgroups gmane.comp.java.objectweb.asm
Message-ID <[email protected]>
On 11/16/2017 02:34 PM, [email protected] wrote:

> Another question, probably more suitable for this mailing list: The problem I
> am trying to solve is to automatically trim/correct inter-project dependencies
> by looking into the bytecode of the classes to see which external classes are
> actually referenced. This particular thing makes it hard for me to extract the
> fact that this code references the SpHttpStatus class. That fact is noted in
> the constant pool, but I don't see an easy way of accessing that information -
> is there a good way to do that?

I've done this before. I'dont know if the method i used is future-proof, 
but i think i used the same method as the validator. If interested i can 
do some cleaning on the project and publish it on github?

G. Simon


-- 
You receive this message as a subscriber of the [email protected] mailing list.
To unsubscribe: mailto:[email protected]
For general help: mailto:[email protected]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws