Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » Java Development Tools (JDT) » Redundant code detection
Redundant code detection [message #699584] Thu, 21 July 2011 20:46 Go to next message
Eclipse UserFriend
Hi there. Is it possible to use JDT to detect unused code in a class? I know that eclipse has support for this natively via the UI to show you variables that are never read and methods that are never used. Can this information be accessed programatically?

Thanks
Re: Redundant code detection [message #699678 is a reply to message #699584] Fri, 22 July 2011 04:36 Go to previous messageGo to next message
Eclipse UserFriend
Yes. See the 'Problem determination' section here -
http://help.eclipse.org/indigo/index.jsp?topic=%2Forg.eclipse.jdt.doc.isv%2Fguide%2Fjdt_api_compile.htm
Re: Redundant code detection [message #700485 is a reply to message #699584] Sat, 23 July 2011 14:36 Go to previous message
Eclipse UserFriend
Hi,

I use: http://www.ucdetector.org/

Cheers,
Michael
Previous Topic:Help Reading a Source File .java file
Next Topic:Hibernate dependency issue
Goto Forum:
  


Current Time: Sun Feb 09 09:07:35 GMT 2025

Powered by FUDForum. Page generated in 0.02982 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top