<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	>
<channel>
	<title>Comments on: Global unused declaration inspection</title>
	<atom:link href="http://blogs.jetbrains.com/idea/2009/04/global-unused-declaration-inspection/feed/" rel="self" type="application/rss+xml" />
	<link>http://blogs.jetbrains.com/idea/2009/04/global-unused-declaration-inspection/</link>
	<description>tips &#38; tricks, news, how-to's</description>
	<pubDate>Mon, 13 Feb 2012 12:27:56 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6.5</generator>
		<item>
		<title>By: Alexey Kudravtsev</title>
		<link>http://blogs.jetbrains.com/idea/2009/04/global-unused-declaration-inspection/#comment-124676</link>
		<dc:creator>Alexey Kudravtsev</dc:creator>
		<pubDate>Fri, 29 Jan 2010 16:17:06 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.jetbrains.com/idea/?p=775#comment-124676</guid>
		<description>To disable the inspection for public methods, turn off the "Settings&#124;Inspections&#124;Declaration redundancy&#124;Unused declaration" global inspection.</description>
		<content:encoded><![CDATA[<p>To disable the inspection for public methods, turn off the &#8220;Settings|Inspections|Declaration redundancy|Unused declaration&#8221; global inspection.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chris</title>
		<link>http://blogs.jetbrains.com/idea/2009/04/global-unused-declaration-inspection/#comment-124666</link>
		<dc:creator>Chris</dc:creator>
		<pubDate>Fri, 29 Jan 2010 14:00:45 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.jetbrains.com/idea/?p=775#comment-124666</guid>
		<description>+1 to Jan.  A great feature rendered virtually useless.  And there doesn't appear to be a fix in the 9.0.2 release..</description>
		<content:encoded><![CDATA[<p>+1 to Jan.  A great feature rendered virtually useless.  And there doesn&#8217;t appear to be a fix in the 9.0.2 release..</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: n</title>
		<link>http://blogs.jetbrains.com/idea/2009/04/global-unused-declaration-inspection/#comment-123638</link>
		<dc:creator>n</dc:creator>
		<pubDate>Wed, 13 Jan 2010 08:42:58 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.jetbrains.com/idea/?p=775#comment-123638</guid>
		<description>Partly agree with Jan - but with a caveat: 

The optimal solution would be if this was configurable so that a project could specify whether: 

- all public declarations will be excluded from inspection (suitable for some libraries etc, or for projects with lots of reflection or injection etc)

- declarations that are tagged as unused could be marked as "ignore usage - it really is in use I say!" - suitable for projects that have some reflection/injection/other reasons

- the project has a set of "entry points", e.g. a set of interfaces/classes that define the "really public" part of your library, and remaining public declarations are checked for usage. This is due to the missing modularization support in Java, with Java7 this feature would be even more useful (but require modification/extension). 

The last option would be extremely useful for me in my project!</description>
		<content:encoded><![CDATA[<p>Partly agree with Jan - but with a caveat: </p>
<p>The optimal solution would be if this was configurable so that a project could specify whether: </p>
<p>- all public declarations will be excluded from inspection (suitable for some libraries etc, or for projects with lots of reflection or injection etc)</p>
<p>- declarations that are tagged as unused could be marked as &#8220;ignore usage - it really is in use I say!&#8221; - suitable for projects that have some reflection/injection/other reasons</p>
<p>- the project has a set of &#8220;entry points&#8221;, e.g. a set of interfaces/classes that define the &#8220;really public&#8221; part of your library, and remaining public declarations are checked for usage. This is due to the missing modularization support in Java, with Java7 this feature would be even more useful (but require modification/extension). </p>
<p>The last option would be extremely useful for me in my project!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tomasz</title>
		<link>http://blogs.jetbrains.com/idea/2009/04/global-unused-declaration-inspection/#comment-121216</link>
		<dc:creator>Tomasz</dc:creator>
		<pubDate>Mon, 14 Dec 2009 11:28:08 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.jetbrains.com/idea/?p=775#comment-121216</guid>
		<description>Agreed with Jan - this feature made one of the most important inspection useless. Public methods should be excludable from the inspection!

Hope Jetbrains issue a fix soon.</description>
		<content:encoded><![CDATA[<p>Agreed with Jan - this feature made one of the most important inspection useless. Public methods should be excludable from the inspection!</p>
<p>Hope Jetbrains issue a fix soon.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Lucas</title>
		<link>http://blogs.jetbrains.com/idea/2009/04/global-unused-declaration-inspection/#comment-120971</link>
		<dc:creator>Lucas</dc:creator>
		<pubDate>Wed, 09 Dec 2009 20:32:19 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.jetbrains.com/idea/?p=775#comment-120971</guid>
		<description>I agree with you, Jan. There should be an option to disable this feature for public methods.</description>
		<content:encoded><![CDATA[<p>I agree with you, Jan. There should be an option to disable this feature for public methods.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Andreas</title>
		<link>http://blogs.jetbrains.com/idea/2009/04/global-unused-declaration-inspection/#comment-120017</link>
		<dc:creator>Andreas</dc:creator>
		<pubDate>Mon, 23 Nov 2009 21:16:44 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.jetbrains.com/idea/?p=775#comment-120017</guid>
		<description>+1 to Jan. There should be an option to disable public declarations, but to keep it for other scopes.</description>
		<content:encoded><![CDATA[<p>+1 to Jan. There should be an option to disable public declarations, but to keep it for other scopes.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Osvaldas Grigas</title>
		<link>http://blogs.jetbrains.com/idea/2009/04/global-unused-declaration-inspection/#comment-119655</link>
		<dc:creator>Osvaldas Grigas</dc:creator>
		<pubDate>Tue, 17 Nov 2009 09:34:22 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.jetbrains.com/idea/?p=775#comment-119655</guid>
		<description>I second Jan. There are many public methods in our project that are invoked through reflection, e.g. through Spring XML configuration. So now I see warnings everywhere, which is frustrating because I know these methods are used. I could turn \Unused declarations\ inspection off, but then I would also lose notifications of unused private methods, and that would be a shame.</description>
		<content:encoded><![CDATA[<p>I second Jan. There are many public methods in our project that are invoked through reflection, e.g. through Spring XML configuration. So now I see warnings everywhere, which is frustrating because I know these methods are used. I could turn \Unused declarations\ inspection off, but then I would also lose notifications of unused private methods, and that would be a shame.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ran Biron</title>
		<link>http://blogs.jetbrains.com/idea/2009/04/global-unused-declaration-inspection/#comment-117645</link>
		<dc:creator>Ran Biron</dc:creator>
		<pubDate>Thu, 15 Oct 2009 19:25:29 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.jetbrains.com/idea/?p=775#comment-117645</guid>
		<description>What about recursive global unused declarations? possibly with "remove entire declaration tree" action?</description>
		<content:encoded><![CDATA[<p>What about recursive global unused declarations? possibly with &#8220;remove entire declaration tree&#8221; action?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jan</title>
		<link>http://blogs.jetbrains.com/idea/2009/04/global-unused-declaration-inspection/#comment-117064</link>
		<dc:creator>Jan</dc:creator>
		<pubDate>Wed, 07 Oct 2009 11:36:36 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.jetbrains.com/idea/?p=775#comment-117064</guid>
		<description>Is there a way to disable this inspection for public methods? I still like the inspection to warn me about unused private/protected/package_private methods, but not for public methods.

The problem with this feature is that it doesn't work well if you are developing an API of some sort, on which other projects (outside the scope of the currently opened IDEA project) depend.

Don't get me wrong, I like this feature, but I would also like to configure it differently for public and non-public methods.</description>
		<content:encoded><![CDATA[<p>Is there a way to disable this inspection for public methods? I still like the inspection to warn me about unused private/protected/package_private methods, but not for public methods.</p>
<p>The problem with this feature is that it doesn&#8217;t work well if you are developing an API of some sort, on which other projects (outside the scope of the currently opened IDEA project) depend.</p>
<p>Don&#8217;t get me wrong, I like this feature, but I would also like to configure it differently for public and non-public methods.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: James</title>
		<link>http://blogs.jetbrains.com/idea/2009/04/global-unused-declaration-inspection/#comment-112794</link>
		<dc:creator>James</dc:creator>
		<pubDate>Fri, 10 Jul 2009 13:52:47 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.jetbrains.com/idea/?p=775#comment-112794</guid>
		<description>Very exciting news! I can't wait to run it against our diseased codebase :)</description>
		<content:encoded><![CDATA[<p>Very exciting news! I can&#8217;t wait to run it against our diseased codebase <img src='http://blogs.jetbrains.com/idea/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /></p>
]]></content:encoded>
	</item>
</channel>
</rss>

