1 <idea-plugin version="2">
2 <name>Intention Power Pack</name>
3 <id>IntentionPowerPack</id>
6 <vendor>InspectionGadgets Software</vendor>
7 <idea-version min="4.0" max="6.0"/>
8 <resource-bundle>com.siyeh.IntentionPowerPackBundle</resource-bundle>
10 <extensions xmlns="com.intellij">
11 <errorHandler implementation="com.intellij.diagnostic.ITNReporter"/>
15 <className>com.siyeh.ipp.integer.ConvertIntegerToDecimalIntention</className>
16 <categoryKey>intention.category.numbers</categoryKey>
20 <className>com.siyeh.ipp.integer.ConvertIntegerToHexIntention</className>
21 <categoryKey>intention.category.numbers</categoryKey>
25 <className>com.siyeh.ipp.integer.ConvertIntegerToOctalIntention</className>
26 <categoryKey>intention.category.numbers</categoryKey>
31 <className>com.siyeh.ipp.bool.DemorgansIntention</className>
32 <categoryKey>intention.category.boolean</categoryKey>
36 <className>com.siyeh.ipp.bool.RemoveBooleanEqualityIntention</className>
37 <categoryKey>intention.category.boolean</categoryKey>
41 <className>com.siyeh.ipp.bool.NegateComparisonIntention</className>
42 <categoryKey>intention.category.boolean</categoryKey>
46 <className>com.siyeh.ipp.bool.FlipComparisonIntention</className>
47 <categoryKey>intention.category.boolean</categoryKey>
51 <className>com.siyeh.ipp.bool.FlipConjunctionIntention</className>
52 <categoryKey>intention.category.boolean</categoryKey>
56 <className>com.siyeh.ipp.equality.ReplaceEqualsWithEqualityIntention</className>
57 <categoryKey>intention.category.boolean</categoryKey>
61 <className>com.siyeh.ipp.equality.ReplaceEqualityWithEqualsIntention</className>
62 <categoryKey>intention.category.boolean</categoryKey>
66 <className>com.siyeh.ipp.trivialif.ExpandBooleanIntention</className>
67 <categoryKey>intention.category.boolean</categoryKey>
70 <!-- Conditional Operator -->
72 <className>com.siyeh.ipp.conditional.FlipConditionalIntention</className>
73 <categoryKey>intention.category.conditional.operator</categoryKey>
77 <className>com.siyeh.ipp.conditional.ReplaceConditionalWithIfIntention</className>
78 <categoryKey>intention.category.conditional.operator</categoryKey>
82 <className>com.siyeh.ipp.trivialif.ReplaceIfWithConditionalIntention</className>
83 <categoryKey>intention.category.conditional.operator</categoryKey>
87 <className>com.siyeh.ipp.conditional.RemoveConditionalIntention</className>
88 <categoryKey>intention.category.conditional.operator</categoryKey>
93 <className>com.siyeh.ipp.shift.ReplaceMultiplyWithShiftIntention</className>
94 <categoryKey>intention.category.shift.operation</categoryKey>
98 <className>com.siyeh.ipp.shift.ReplaceShiftWithMultiplyIntention</className>
99 <categoryKey>intention.category.shift.operation</categoryKey>
103 <!-- todo is ReplaceAssertEqualsWithAssertTrueEqualityIntention() the same as new ReplaceAssertEqualsWithAssertLiteralIntention(project, "true", "assertTrue") ? -->
106 <className>com.siyeh.ipp.junit.ReplaceAssertEqualsWithAssertTrueEqualityIntention</className>
107 <categoryKey>intention.category.junit</categoryKey>
111 <!-- todo is ReplaceAssertTrueEqualityWithAssertEqualsIntention() the same as new ReplaceAssertLiteralWithAssertEqualsIntention(project, "true", "assertTrue") ? -->
114 <className>com.siyeh.ipp.junit.ReplaceAssertTrueEqualityWithAssertEqualsIntention</className>
115 <categoryKey>intention.category.junit</categoryKey>
120 <className>com.siyeh.ipp.junit.ReplaceAssertEqualsWithAssertLiteralIntention</className>
121 <categoryKey>intention.category.junit</categoryKey>
125 <className>com.siyeh.ipp.junit.ReplaceAssertLiteralWithAssertEqualsIntention</className>
126 <categoryKey>intention.category.junit</categoryKey>
130 <className>com.siyeh.ipp.junit.CreateAssertIntention</className>
131 <categoryKey>intention.category.junit</categoryKey>
135 <className>com.siyeh.ipp.junit.FlipAssertLiteralIntention</className>
136 <categoryKey>intention.category.junit</categoryKey>
143 <className>com.siyeh.ipp.decls.MoveDeclarationIntention</className>
144 <categoryKey>intention.category.declaration</categoryKey>
149 <className>com.siyeh.ipp.decls.SimplifyVariableIntention</className>
150 <categoryKey>intention.category.declaration</categoryKey>
154 <className>com.siyeh.ipp.initialization.SplitDeclarationAndInitializationIntention</className>
155 <categoryKey>intention.category.declaration</categoryKey>
159 <className>com.siyeh.ipp.interfacetoclass.ConvertInterfaceToClassIntention</className>
160 <categoryKey>intention.category.declaration</categoryKey>
164 <className>com.siyeh.ipp.varargs.MakeMethodVarargsIntention</className>
165 <categoryKey>intention.category.declaration</categoryKey>
169 <className>com.siyeh.ipp.varargs.ConvertVarargParameterToArrayIntention</className>
170 <categoryKey>intention.category.declaration</categoryKey>
174 <className>com.siyeh.ipp.varargs.WrapVarargArgumentsWithExplicitArrayIntention</className>
175 <categoryKey>intention.category.declaration</categoryKey>
181 <className>com.siyeh.ipp.fqnames.ReplaceFullyQualifiedNameWithImportIntention</className>
182 <categoryKey>intention.category.declaration</categoryKey>
186 <className>com.siyeh.ipp.imports.ReplaceOnDemandImportIntention</className>
187 <categoryKey>intention.category.declaration</categoryKey>
192 <className>com.siyeh.ipp.comment.ChangeToCStyleCommentIntention</className>
193 <categoryKey>intention.category.comments</categoryKey>
197 <className>com.siyeh.ipp.comment.ChangeToEndOfLineCommentIntention</className>
198 <categoryKey>intention.category.comments</categoryKey>
202 <className>com.siyeh.ipp.comment.MoveCommentToSeparateLineIntention</className>
203 <categoryKey>intention.category.comments</categoryKey>
207 <!-- Control Flow -->
209 <className>com.siyeh.ipp.trivialif.SplitElseIfIntention</className>
210 <categoryKey>intention.category.control.flow</categoryKey>
213 <className>com.siyeh.ipp.trivialif.MergeElseIfIntention</className>
214 <categoryKey>intention.category.control.flow</categoryKey>
217 <className>com.siyeh.ipp.trivialif.MergeIfAndIntention</className>
218 <categoryKey>intention.category.control.flow</categoryKey>
221 <className>com.siyeh.ipp.trivialif.MergeIfOrIntention</className>
222 <categoryKey>intention.category.control.flow</categoryKey>
225 <className>com.siyeh.ipp.trivialif.MergeParallelIfsIntention</className>
226 <categoryKey>intention.category.control.flow</categoryKey>
229 <className>com.siyeh.ipp.switchtoif.ReplaceSwitchWithIfIntention</className>
230 <categoryKey>intention.category.control.flow</categoryKey>
233 <className>com.siyeh.ipp.switchtoif.ReplaceIfWithSwitchIntention</className>
234 <categoryKey>intention.category.control.flow</categoryKey>
237 <className>com.siyeh.ipp.trivialif.SimplifyIfElseIntention</className>
238 <categoryKey>intention.category.control.flow</categoryKey>
241 <className>com.siyeh.ipp.forloop.ReplaceForEachLoopWithIndexedForLoopIntention</className>
242 <categoryKey>intention.category.control.flow</categoryKey>
245 <className>com.siyeh.ipp.forloop.ReplaceForEachLoopWithIteratorForLoopIntention</className>
246 <categoryKey>intention.category.control.flow</categoryKey>
249 <className>com.siyeh.ipp.forloop.ReplaceForLoopWithWhileLoopIntention</className>
250 <categoryKey>intention.category.control.flow</categoryKey>
253 <className>com.siyeh.ipp.whileloop.ReplaceWhileLoopWithDoWhileLoopIntention</className>
254 <categoryKey>intention.category.control.flow</categoryKey>
257 <className>com.siyeh.ipp.whileloop.ReplaceDoWhileLoopWithWhileLoopIntention</className>
258 <categoryKey>intention.category.control.flow</categoryKey>
261 <className>com.siyeh.ipp.whileloop.ExtractWhileLoopConditionToIfStatementIntention</className>
262 <categoryKey>intention.category.control.flow</categoryKey>
265 <className>com.siyeh.ipp.braces.AddBracesIntention</className>
266 <categoryKey>intention.category.control.flow</categoryKey>
271 <className>com.siyeh.ipp.braces.RemoveBracesIntention</className>
272 <categoryKey>intention.category.control.flow</categoryKey>
278 <className>com.siyeh.ipp.commutative.FlipCommutativeMethodCallIntention</className>
279 <categoryKey>intention.category.other</categoryKey>
282 <className>com.siyeh.ipp.commutative.SwapMethodCallArgumentsIntention</className>
283 <categoryKey>intention.category.other</categoryKey>
286 <className>com.siyeh.ipp.parenthesis.RemoveUnnecessaryParenthesesIntention</className>
287 <categoryKey>intention.category.other</categoryKey>
290 <className>com.siyeh.ipp.concatenation.ReplaceConcatenationWithStringBufferIntention</className>
291 <categoryKey>intention.category.other</categoryKey>
294 <className>com.siyeh.ipp.concatenation.JoinConcatenatedStringLiteralsIntention</className>
295 <categoryKey>intention.category.other</categoryKey>
298 <className>com.siyeh.ipp.concatenation.MakeAppendChainIntoAppendSequenceIntention</className>
299 <categoryKey>intention.category.other</categoryKey>
302 <className>com.siyeh.ipp.exceptions.DetailExceptionsIntention</className>
303 <categoryKey>intention.category.other</categoryKey>
306 <className>com.siyeh.ipp.exceptions.ConvertCatchToThrowsIntention</className>
307 <categoryKey>intention.category.other</categoryKey>
310 <className>com.siyeh.ipp.opassign.ReplaceWithOperatorAssignmentIntention</className>
311 <categoryKey>intention.category.other</categoryKey>
314 <className>com.siyeh.ipp.opassign.ReplaceOperatorAssignmentWithAssignmentIntention</className>
315 <categoryKey>intention.category.other</categoryKey>
318 <className>com.siyeh.ipp.chartostring.CharToStringIntention</className>
319 <categoryKey>intention.category.other</categoryKey>
322 <className>com.siyeh.ipp.chartostring.StringToCharIntention</className>
323 <categoryKey>intention.category.other</categoryKey>
326 <className>com.siyeh.ipp.asserttoif.AssertToIfIntention</className>
327 <categoryKey>intention.category.other</categoryKey>
330 <className>com.siyeh.ipp.enumswitch.CreateEnumSwitchBranchesIntention</className>
331 <categoryKey>intention.category.other</categoryKey>
334 <className>com.siyeh.ipp.constant.ConstantExpressionIntention</className>
335 <categoryKey>intention.category.other</categoryKey>
338 <className>com.siyeh.ipp.constant.ConstantSubexpressionIntention</className>
339 <categoryKey>intention.category.other</categoryKey>
342 <className>com.siyeh.ipp.increment.ExtractIncrementIntention</className>
343 <categoryKey>intention.category.other</categoryKey>
346 <className>com.siyeh.ipp.parenthesis.AddClarifyingParenthesesIntention</className>
347 <categoryKey>intention.category.other</categoryKey>