AFAIR, such constants (primitives and Strings) are inlined by the compiler - and the dependeny analyzer works on the bytecode and not the sources, right?
Am Mittwoch, 25. November 2015 schrieb Jochen Wiedmann : > What exactly is it, you'd like to detect? > > > On Wed, Nov 25, 2015 at 8:11 AM, Kristian Rosenvold > <kristian.rosenv...@gmail.com <javascript:;>> wrote: > > I poked around in the depdenedncy analyzer code to see if I could make > > it "see" the following code: > > > > Module 1: > > public class Test2 { > > public static final int AZAZ = 42; > > } > > > > Module 2: > > > > import foo.Test2; > > > > public class BarMain > > { > > public static void main(String[] args) { > > System.out.println("AZ " + Test2.AZAZ); > > } > > } > > > > Isn't this possible to detect or am I just a total n00b with asm ?? > > > > > > Kristian > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org <javascript:;> > > For additional commands, e-mail: dev-h...@maven.apache.org > <javascript:;> > > > > > > -- > The next time you hear: "Don't reinvent the wheel!" > > > http://www.keystonedevelopment.co.uk/wp-content/uploads/2014/10/evolution-of-the-wheel-300x85.jpg > > --------------------------------------------------------------------- > To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org <javascript:;> > For additional commands, e-mail: dev-h...@maven.apache.org <javascript:;> > >