Looking for a standalone Java source code parser
the.warl0ck.1989 at gmail.com
Mon Oct 20 07:22:04 UTC 2014
Thanks for the quick reply.
I'm trying to do static analysis (e.g API calls, function parameters)
on JSP files.
I will do what tomcat does and convert the JSP file into a JAVA file
first, then do the analysis on JAVA code.
Basically I want to know what java class::method is called and what
parameters are passed in, if possible.
So, is there any existing tool I can use ?
On Mon, Oct 20, 2014 at 3:13 PM, Ben Evans
<benjamin.john.evans at gmail.com> wrote:
> There is certainly a BNF grammar for Java 5 out there somewhere. A tool like
> ANTLR should be able to produce a parser for you from that.
> What's the specific use case?
> On 20 Oct 2014 15:10, "Aaron Lewis" <the.warl0ck.1989 at gmail.com> wrote:
>> I'm looking for a parser that parses Java source code, is there any
>> recommend ones?
>> Best Regards,
>> Aaron Lewis - PGP: 0x13714D33 - http://pgp.mit.edu/
>> Finger Print: 9F67 391B B770 8FF6 99DC D92D 87F6 2602 1371 4D33
Aaron Lewis - PGP: 0x13714D33 - http://pgp.mit.edu/
Finger Print: 9F67 391B B770 8FF6 99DC D92D 87F6 2602 1371 4D33
More information about the discuss