[antlr-interest] Re: A wish: No unneeded imports (or rather: code without "standard warnings")

lgcraymer lgc at mail1.jpl.nasa.gov
Fri Dec 3 12:44:00 PST 2004



Harald--

That should be fixed in ANTLR 3, I would think.  For what you are
doing, can you automate the eclipse "organize imports" function to
remove unneeded imports?

--Loring


--- In antlr-interest at yahoogroups.com, Harald M. Müller
<harald.m.mueller at b...> wrote:
> 
> 
> 2 seconds on the list, and I already want a feature ;-) :
> 
> We have a rule in our Java projects that we do not even allow 
> warnings in code. "Which warnings?" you'll ask - we settle for 
> the "Eclipse 2.1 default warnings". Among those, there's the 
> unneeded imports warning - and antlr's output gets tagged all over 
> the place ...
> 
> Having written a fair lot of codegens myself, I know the work ... 
> but couldn't it be possible to make the created code "warning-free"?
> 
> [Oh yes, we could put the generated code into a separate "generated" 
> source tree, where it would be ok to have warnings, also in other 
> generated code - but, well, no warnings would be nicer :-) ]
> 
> Regards
> Harald M. Mueller





 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/antlr-interest/

<*> To unsubscribe from this group, send an email to:
    antlr-interest-unsubscribe at yahoogroups.com

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 





More information about the antlr-interest mailing list