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 / General / March 2007

Tip: Looking for answers? Try searching our database.

refactoring out static classes

Thread view: 
R. Vince - 22 Mar 2007 15:31 GMT
Some months ago, I read about a utility that factors out static classes,
making them be instantiated. Has anyone heard of this utulity (because now I
cannot remember it), what it is called? Thanks
Daniel Pitts - 22 Mar 2007 19:11 GMT
On Mar 22, 7:31 am, "R. Vince" <rvince99  a t hotmail d o t com>
wrote:
> Some months ago, I read about a utility that factors out static classes,
> making them be instantiated. Has anyone heard of this utulity (because now I
> cannot remember it), what it is called? Thanks

Classes can not be instantiated.  Objects can be instantiated.

Without you clarifying more what you actually want, I can't really
help.

Could you have meant to ask one of the following questions?

How do I move a static inner class to a top level class?
How do I make a static member into an instance member?
How do I instantiate an object?
What is refactorying, and how do I do it?
Tor Iver Wilhelmsen - 22 Mar 2007 20:10 GMT
På Thu, 22 Mar 2007 15:31:05 +0100, skrev R. Vince <rvince99 a t hotmail d  
o t <"com>">:

> Some months ago, I read about a utility that factors out static classes,
> making them be instantiated. Has anyone heard of this utulity (because  
> now I
> cannot remember it), what it is called? Thanks

You mean turn static nested classes into top-level classes? Usually you  
would do that in an IDE so that all affected classes in a project or  
workspace get updates as well (since the outer class no longer forms part  
of the namespace). Eclipse, Netbeans, JBuilder, JDeveloper - AFAIK all of  
them can do this easily.


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.