Need tool to find necessary "import" statements for given java source;

R

Raymond Schanks

I often see java source code snippets on web pages/tutorials.
Unfortunately the are shown WITHOUT the necessary "import" statements at the top.

Is there a tool which inspects such a java source and (depending on the java version)
suggests the required "import" statement?

Sometimes the java sample code is java 1.4 related and some used functions are deprecated.
I would appreciate if this tool could suggest newer source code replacements for e.g. java 1.6.

Ray
 
L

Lew

Raymond said:
I often see java [sic] source code snippets on web pages/tutorials.
Unfortunately the are shown WITHOUT the necessary "import" statements

Cross-posting is not sinful, and your use of followup is good, but it still is
overkill. You'll be fine just posting to one group, clj.help in this instance
since that's where you want followup. You don't need to leave footprints in
every flowerbed.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,744
Messages
2,569,484
Members
44,904
Latest member
HealthyVisionsCBDPrice

Latest Threads

Top