Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re^2: parsing a java src file

by rmexico (Novice)
on Jan 28, 2006 at 19:49 UTC ( #526199=note: print w/ replies, xml ) Need Help??


in reply to Re: parsing a java src file
in thread parsing a java src file

hmm, if i change your kk.java though to something like i have below, i get no results.

public class test { private String one; private String two; public test(String one, String two) { this.one = one; this.two = two; } public static final test alpha = new test("foo", "bar"); public final static test beta = new test("baz", "boo"); }
thoughts?


Comment on Re^2: parsing a java src file
Download Code
Re^3: parsing a java src file
by explorer (Chaplain) on Jan 28, 2006 at 21:05 UTC
    Solved... but is tricky,,, Only work if the body of the class end with a '}' at the first column of src.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://526199]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (10)
As of 2015-07-02 00:13 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (25 votes), past polls