Re: Late binding of integer constants?
Simon IJskes <[email protected]> Thu, 16 Nov 2017 16:21:31 +0100
| Newsgroups | gmane.comp.java.objectweb.asm |
|---|---|
| Message-ID | <[email protected]> |
I hope this works for you (and others). https://github.com/QualityConsultancyGroup/jardep G. Simon On 16-11-17 15:27, Petter Måhlén wrote: > I would be very interested in looking at that, if it's not too much trouble. > > Thanks, > Petter > > On Thu, 16 Nov 2017 at 15:00 Simon IJskes <[email protected] > <mailto:[email protected]>> wrote: > > On 11/16/2017 02:34 PM, [email protected] > <mailto:[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