Skip to Main Content

Java Programming

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Get class name in *.java use antlr-2.7.6

807607Oct 30 2006 — edited Oct 31 2006
hello all:
Who can give me a sample to get all class names in java source file with using antlr(a kind of java parser).And can I get the type of class , which as main class , class or inner class.
http://www.antlr.org/doc/getting-started.html
I have read the doc , but don't really understand.
May be you had used antlr, help me.
thank u.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Nov 28 2006
Added on Oct 30 2006
6 comments
367 views