Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / Tools / November 2006

Tip: Looking for answers? Try searching our database.

Re-engineering source code between 1.4 and 1.5

Thread view: 
denzel - 08 Nov 2006 13:50 GMT
Hello,

is there a tool which can help to transform java source code from/to 1.4
 to/from 1.5 ? For binary 1.5 to 1.4 there is retroweaver, but is there
a source code version?

The main concern is about generics. How to automatically add/remove them.

TIA
Oliver Wong - 08 Nov 2006 22:18 GMT
> Hello,
>
[quoted text clipped - 3 lines]
>
> The main concern is about generics. How to automatically add/remove them.

   Automatically removing them (and adding the casts where nescessary)
should be easy, but automatically adding them sounds difficult enough that I
wouldn't be surprised if no commercial tool exists to do this for you.

   - Oliver
Benno Baumgartner - 09 Nov 2006 17:01 GMT
> Hello,
>
[quoted text clipped - 5 lines]
>
> TIA

Hi

Have a look at Eclipse. There is a refactoring called 'Infer Generic
Type Arguments':
http://help.eclipse.org/help31/index.jsp?topic=/org.eclipse.jdt.doc.user/tasks/t
asks-226.htm

. Also eclipses Clean Up wizard can add some annotations for you and
convert for loops to enhanced for loops. http://www.eclipse.org/

HTH
Benno


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.