mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
intention descriptions: cleanup - apply them all the same style
This commit is contained in:
+1
-1
@@ -1,5 +1,5 @@
|
||||
<html>
|
||||
<body>
|
||||
<span style="font-family: verdana,serif; font-size: smaller;">Opens language injection settings if available.</span>
|
||||
Opens language injection settings if available.
|
||||
</body>
|
||||
</html>
|
||||
@@ -1,5 +1,5 @@
|
||||
<html>
|
||||
<body>
|
||||
<span style="font-family: verdana,serif; font-size: smaller;">Injects language into text-holding program element (string literal, XML attribute and tag body, etc.).</span>
|
||||
Injects language into text-holding program element (string literal, XML attribute and tag body, etc.).
|
||||
</body>
|
||||
</html>
|
||||
@@ -1,5 +1,5 @@
|
||||
<html>
|
||||
<body>
|
||||
<span style="font-family: verdana,serif; font-size: smaller;">Edit injected fragment in a designated editor without outer language escaping and concatenations.</span>
|
||||
Edit injected fragment in a designated editor without outer language escaping and concatenations.
|
||||
</body>
|
||||
</html>
|
||||
+1
-1
@@ -1,5 +1,5 @@
|
||||
<html>
|
||||
<body>
|
||||
<span style="font-family: verdana,serif; font-size: smaller;">Removes language injection if it is configurable.</span>
|
||||
Removes language injection if it is configurable.
|
||||
</body>
|
||||
</html>
|
||||
+2
-3
@@ -1,9 +1,8 @@
|
||||
<html>
|
||||
<body>
|
||||
<font face="verdana" size="-1">This intention replaces an extension of an
|
||||
This intention replaces an extension of an
|
||||
adapter class with a direct implementation of the listeners.
|
||||
</font>
|
||||
<br><br>
|
||||
<font face="verdana" size="-2">New in 9</font>
|
||||
<small>New in 9</small>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
+3
-4
@@ -1,9 +1,8 @@
|
||||
<html>
|
||||
<body>
|
||||
<font face="verdana" size="-1">This intention adds an array creation expression to an
|
||||
array initializer expression without one.
|
||||
</font>
|
||||
This intention adds an array creation expression to an
|
||||
array initializer expression without one.
|
||||
<br><br>
|
||||
<font face="verdana" size="-2">New in 10.5</font>
|
||||
<small>New in 10.5</small>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
+2
-3
@@ -1,7 +1,6 @@
|
||||
<html>
|
||||
<body>
|
||||
<font face="verdana" size="-1">This intention adds braces to control flow statements without
|
||||
braces.
|
||||
</font>
|
||||
This intention adds braces to control flow statements without
|
||||
braces.
|
||||
</body>
|
||||
</html>
|
||||
|
||||
+3
-4
@@ -1,8 +1,7 @@
|
||||
<html>
|
||||
<body>
|
||||
<font face="verdana" size="-1">This intention adds clarifying parentheses to complex binary
|
||||
expressions. The parentheses inserted clarify the associativity between the different
|
||||
binary operators.
|
||||
</font>
|
||||
This intention adds clarifying parentheses to complex binary
|
||||
expressions. The parentheses inserted clarify the associativity between the different
|
||||
binary operators.
|
||||
</body>
|
||||
</html>
|
||||
|
||||
+2
-3
@@ -1,7 +1,6 @@
|
||||
<html>
|
||||
<body>
|
||||
<font face="verdana" size="-1">This intention replaces an <b>assert</b> statement with an
|
||||
<b>if</b> statement which throws an AssertionError if the asserted condition is false.
|
||||
</font>
|
||||
This intention replaces an <b>assert</b> statement with an
|
||||
<b>if</b> statement which throws an AssertionError if the asserted condition is false.
|
||||
</body>
|
||||
</html>
|
||||
|
||||
+2
-3
@@ -1,7 +1,6 @@
|
||||
<html>
|
||||
<body>
|
||||
<font face="verdana" size="-1">This intention replaces one or more
|
||||
end-of-line comments with an equivalent C-style block comment.
|
||||
</font>
|
||||
This intention replaces one or more
|
||||
end-of-line comments with an equivalent C-style block comment.
|
||||
</body>
|
||||
</html>
|
||||
|
||||
+2
-3
@@ -1,7 +1,6 @@
|
||||
<html>
|
||||
<body>
|
||||
<font face="verdana" size="-1">This intention a C-style block comment with
|
||||
one or more end-of-line comments.
|
||||
</font>
|
||||
This intention a C-style block comment with
|
||||
one or more end-of-line comments.
|
||||
</body>
|
||||
</html>
|
||||
|
||||
+3
-4
@@ -1,8 +1,7 @@
|
||||
<html>
|
||||
<body>
|
||||
<font face="verdana" size="-1">This intention replaces character literals with
|
||||
equivalent single character string literals. Only characters used in concatenations or other similar contexts
|
||||
can be changed with this intention.
|
||||
</font>
|
||||
This intention replaces character literals with
|
||||
equivalent single character string literals. Only characters used in concatenations or other similar contexts
|
||||
can be changed with this intention.
|
||||
</body>
|
||||
</html>
|
||||
|
||||
+1
-2
@@ -1,7 +1,6 @@
|
||||
<html>
|
||||
<body>
|
||||
<font face="verdana" size="-1">This intention calculates the value of a compile
|
||||
This intention calculates the value of a compile
|
||||
time constant expression, and replaces it with an equivalent literal expression.
|
||||
</font>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
+2
-3
@@ -1,9 +1,8 @@
|
||||
<html>
|
||||
<body>
|
||||
<font face="verdana" size="-1">This intention calculates the value of a compile
|
||||
This intention calculates the value of a compile
|
||||
time constant sub-expression, and replaces it with an equivalent literal expression.
|
||||
It's intended for cases where you don't wish to replace an entire constant expression,
|
||||
It's intended for cases where you don't wish to replace an entire constant expression,
|
||||
just a portion of it.
|
||||
</font>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
+2
-3
@@ -1,9 +1,8 @@
|
||||
<html>
|
||||
<body>
|
||||
<font face="verdana" size="-1">This intention removes a <b>catch</b> section in a
|
||||
<b>try</b>-<b>catch</b> statement and adds a <b>throws</b> declaration with the
|
||||
This intention removes a <b>catch</b> section in a
|
||||
<b>try</b> - <b>catch</b> statement and adds a <b>throws</b> declaration with the
|
||||
same exception to the containing method. If the <b>try</b> statement contains no
|
||||
further catch sections it is removed entirely.
|
||||
</font>
|
||||
</body>
|
||||
</html>
|
||||
+3
-3
@@ -1,8 +1,8 @@
|
||||
<html>
|
||||
<body>
|
||||
<font face="verdana" size="-1">This intention converts selected integer literal into <b>binary</b> notation
|
||||
(supported in JDK 7 or higher).</font>
|
||||
This intention converts selected integer literal into <b>binary</b> notation
|
||||
(supported in JDK 7 or higher).
|
||||
<br><br>
|
||||
<font face="verdana" size="-2">New in 10.5</font>
|
||||
<small>New in 10.5</small>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
+1
-3
@@ -1,5 +1,3 @@
|
||||
<html>
|
||||
<body>
|
||||
<font face="verdana" size="-1">This intention converts selected integer literal into <b>decimal</b> notation.</font>
|
||||
</body>
|
||||
This intention converts selected integer literal into <b>decimal</b> notation.
|
||||
</html>
|
||||
|
||||
+1
-3
@@ -1,5 +1,3 @@
|
||||
<html>
|
||||
<body>
|
||||
<font face="verdana" size="-1">This intention converts selected integer literal into <b>hexadecimal</b> notation.</font>
|
||||
</body>
|
||||
<body>This intention converts selected integer literal into <b>hexadecimal</b> notation.</body>
|
||||
</html>
|
||||
|
||||
+1
-3
@@ -1,5 +1,3 @@
|
||||
<html>
|
||||
<body>
|
||||
<font face="verdana" size="-1">This intention converts selected integer literal into <b>octal</b> notation.</font>
|
||||
</body>
|
||||
This intention converts selected integer literal into <b>octal</b> notation.
|
||||
</html>
|
||||
|
||||
+1
-2
@@ -1,7 +1,6 @@
|
||||
<html>
|
||||
<body>
|
||||
<font face="verdana" size="-1">This intention converts an <b>interface</b> to an <b>abstract class</b>,
|
||||
This intention converts an <b>interface</b> to an <b>abstract class</b> ,
|
||||
replacing <b>implements</b> clauses by <b>extends</b> clauses in inheriting classes.
|
||||
</font>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
+1
-2
@@ -1,7 +1,6 @@
|
||||
<html>
|
||||
<body>
|
||||
<font face="verdana" size="-1">This intention converts a JUnit3 test class into
|
||||
This intention converts a JUnit3 test class into
|
||||
a JUnit 4 or higher test class.
|
||||
</font>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
+1
-2
@@ -1,7 +1,6 @@
|
||||
<html>
|
||||
<body>
|
||||
<font face="verdana" size="-1">This intention converts selected double or float literal written in <b>engineering</b> notation
|
||||
This intention converts selected double or float literal written in <b>engineering</b> notation
|
||||
into <b>plain</b> notation.
|
||||
</font>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
+2
-3
@@ -1,9 +1,8 @@
|
||||
<html>
|
||||
<body>
|
||||
<font face="verdana" size="-1">This intention converts selected double or float literal written in <b>decimal</b> notation
|
||||
This intention converts selected double or float literal written in <b>decimal</b> notation
|
||||
into <b>scientific</b> notation.
|
||||
</font>
|
||||
<br><br>
|
||||
<font face="verdana" size="-2">New in 10.5</font>
|
||||
<small>New in 10.5</small>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
+1
-2
@@ -1,8 +1,7 @@
|
||||
<html>
|
||||
<body>
|
||||
<font face="verdana" size="-1">This intention replaces a variable argument
|
||||
This intention replaces a variable argument
|
||||
parameter with the equivalent array parameter. Relevant arguments in calls to
|
||||
this method are wrapped in an array initializer expression.
|
||||
</font>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
+1
-2
@@ -1,8 +1,7 @@
|
||||
<html>
|
||||
<body>
|
||||
<font face="verdana" size="-1">This intention copies the text of a <b>String</b> concatenation
|
||||
This intention copies the text of a <b>String</b> concatenation
|
||||
to the system clipboard. This can be useful for example when you have a multi-line SQL query in
|
||||
your code, split into concatenated lines which you need to copy to an external application.
|
||||
</font>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
+2
-3
@@ -1,7 +1,6 @@
|
||||
<html>
|
||||
<body>
|
||||
<font face="verdana" size="-1">This intention will create an appropriate JUnit assertion
|
||||
call from a boolean expression. This intention only works in JUnit test methods.
|
||||
</font>
|
||||
This intention will create an appropriate JUnit assertion
|
||||
call from a boolean expression. This intention only works in JUnit test methods.
|
||||
</body>
|
||||
</html>
|
||||
|
||||
+3
-3
@@ -1,6 +1,6 @@
|
||||
<html>
|
||||
<body>
|
||||
<font face="verdana" size="-1">This intention will fill in any missing <b>case</b> labels
|
||||
on a <b>switch</b> statement with an enumerated type as it's switch expression
|
||||
</font></body>
|
||||
This intention will fill in any missing <b>case</b> labels
|
||||
on a <b>switch</b> statement with an enumerated type as it's switch expression
|
||||
</body>
|
||||
</html>
|
||||
|
||||
+14
-9
@@ -1,16 +1,21 @@
|
||||
<html>
|
||||
<body>
|
||||
<font face="verdana" size="-1">This intention replaces either</font>
|
||||
This intention replaces either
|
||||
<table>
|
||||
<tr><td> </td><td>
|
||||
<font face="verdana" size="-1"> <b>a || b</b> with <b>!(!a && !b)</b> or</font>
|
||||
</td></tr>
|
||||
<tr><td> </td><td>
|
||||
<font face="verdana" size="-1"> <b>a && b</b> with <b>!(!a || !b)</b></font>
|
||||
</td></tr>
|
||||
<tr>
|
||||
<td> </td>
|
||||
<td>
|
||||
<b>a || b</b> with <b>!(!a && !b)</b> or
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td> </td>
|
||||
<td>
|
||||
<b>a && b</b> with <b>!(!a || !b)</b>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<font face="verdana" size="-1">
|
||||
|
||||
inside boolean expression.
|
||||
</font>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
+1
-2
@@ -1,6 +1,5 @@
|
||||
<html>
|
||||
<body>
|
||||
<font face="verdana" size="-1">This intention replaces too broad exceptions in the <b>catch</b> clause with more specific ones.
|
||||
</font>
|
||||
This intention replaces too broad exceptions in the <b>catch</b> clause with more specific ones.
|
||||
</body>
|
||||
</html>
|
||||
|
||||
+2
-3
@@ -1,7 +1,6 @@
|
||||
<html>
|
||||
<body>
|
||||
<font face="verdana" size="-1">This intention replaces <b>return</b> or assignment statements
|
||||
which use a boolean expression with equivalent if-then-else statements, if possible.
|
||||
</font>
|
||||
This intention replaces <b>return</b> or assignment statements
|
||||
which use a boolean expression with equivalent if-then-else statements, if possible.
|
||||
</body>
|
||||
</html>
|
||||
|
||||
+3
-4
@@ -1,9 +1,8 @@
|
||||
<html>
|
||||
<body>
|
||||
<font face="verdana" size="-1">This intention expands an annotation in 'marker' or
|
||||
'single element' form to the 'normal' form.
|
||||
</font>
|
||||
This intention expands an annotation in 'marker' or
|
||||
'single element' form to the 'normal' form.
|
||||
<br><br>
|
||||
<font face="verdana" size="-2">New in 10.5</font>
|
||||
<small>New in 10.5</small>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
+2
-3
@@ -1,9 +1,8 @@
|
||||
<html>
|
||||
<body>
|
||||
<font face="verdana" size="-1">This intention extracts out increment or decrement
|
||||
operations that are used inside other statements as separate statements. Due to
|
||||
This intention extracts out increment or decrement
|
||||
operations that are used inside other statements as separate statements. Due to
|
||||
the inherent possibility of side effects in this operation, this intention may
|
||||
alter the semantics of the altered statements.
|
||||
</font>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
+1
-2
@@ -1,8 +1,7 @@
|
||||
<html>
|
||||
<body>
|
||||
<font face="verdana" size="-1">This intention extracts the condition of a <b>while</b>
|
||||
This intention extracts the condition of a <b>while</b>
|
||||
statement and places the negated condition in an <b>if</b> statement inside the while
|
||||
loop.
|
||||
</font>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
+1
-2
@@ -1,7 +1,6 @@
|
||||
<html>
|
||||
<body>
|
||||
<font face="verdana" size="-1">This intention is <b>JUnit</b> specific.<br>
|
||||
This intention is <b>JUnit</b> specific. <br>
|
||||
It replaces an <b>assertTrue()</b> or <b>assertFalse()</b> method call with it's converse.
|
||||
</font>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
+2
-3
@@ -1,7 +1,6 @@
|
||||
<html>
|
||||
<body>
|
||||
<font face="verdana" size="-1">This intention replaces <b>caller.method(object)</b>
|
||||
with <b>object.method(caller)</b> if possible.
|
||||
</font>
|
||||
This intention replaces <b>caller.method(object)</b>
|
||||
with <b>object.method(caller)</b> if possible.
|
||||
</body>
|
||||
</html>
|
||||
|
||||
+2
-2
@@ -1,6 +1,6 @@
|
||||
<html>
|
||||
<body>
|
||||
<font face="verdana" size="-1">This intention swaps the operands of a
|
||||
comparison expression.</font>
|
||||
This intention swaps the operands of a
|
||||
comparison expression.
|
||||
</body>
|
||||
</html>
|
||||
|
||||
+1
-2
@@ -1,6 +1,5 @@
|
||||
<html>
|
||||
<body>
|
||||
<font face="verdana" size="-1">This intention flips the branches of a conditional operator.
|
||||
</font>
|
||||
This intention flips the branches of a conditional operator.
|
||||
</body>
|
||||
</html>
|
||||
|
||||
+2
-3
@@ -1,7 +1,6 @@
|
||||
<html>
|
||||
<body>
|
||||
<font face="verdana" size="-1">This intention swaps the operands of an <b>&&</b>
|
||||
or <b>||</b> expression.
|
||||
</font>
|
||||
This intention swaps the operands of an <b>&&</b>
|
||||
or <b>||</b> expression.
|
||||
</body>
|
||||
</html>
|
||||
|
||||
+2
-2
@@ -1,6 +1,6 @@
|
||||
<html>
|
||||
<body>
|
||||
<font face="verdana" size="-1">This intention swaps the operands of a binary
|
||||
expression.</font>
|
||||
This intention swaps the operands of a binary
|
||||
expression.
|
||||
</body>
|
||||
</html>
|
||||
|
||||
+2
-2
@@ -1,7 +1,7 @@
|
||||
<html>
|
||||
<body>
|
||||
<font face="verdana" size="-1">This intention flips setter calls.</font>
|
||||
This intention flips setter calls.
|
||||
<br><br>
|
||||
<font face="verdana" size="-2">New in 9</font>
|
||||
<small>New in 9</small>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
+3
-4
@@ -1,9 +1,8 @@
|
||||
<html>
|
||||
<body>
|
||||
<font face="verdana" size="-1">This intention replaces an <b>if</b> statement
|
||||
which throws an AssertionError if the condition is false, with an <b>assert</b> statement.
|
||||
</font>
|
||||
This intention replaces an <b>if</b> statement
|
||||
which throws an AssertionError if the condition is false, with an <b>assert</b> statement.
|
||||
<br><br>
|
||||
<font face="verdana" size="-2">New in 10</font>
|
||||
<small>New in 10</small>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
+2
-3
@@ -1,7 +1,6 @@
|
||||
<html>
|
||||
<body>
|
||||
<font face="verdana" size="-1">This intention joins adjacent concatenated string
|
||||
literals into a single literal.
|
||||
</font>
|
||||
This intention joins adjacent concatenated string
|
||||
literals into a single literal.
|
||||
</body>
|
||||
</html>
|
||||
|
||||
+1
-2
@@ -1,7 +1,6 @@
|
||||
<html>
|
||||
<body>
|
||||
<font face="verdana" size="-1">This intention replaces chains of <b>StringBuffer.append()</b> calls with
|
||||
This intention replaces chains of <b>StringBuffer.append()</b> calls with
|
||||
the equivalent sequence of call statements.
|
||||
</font>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
+3
-4
@@ -1,10 +1,9 @@
|
||||
<html>
|
||||
<body>
|
||||
<font face="verdana" size="-1">This intention replaces a method declaration
|
||||
This intention replaces a method declaration
|
||||
which has an array as its last parameter with the equivalent varargs method
|
||||
declaration. Relevant array initializer expressions at calls to this method are
|
||||
automatically unwrapped.<br>
|
||||
declaration. Relevant array initializer expressions at calls to this method are
|
||||
automatically unwrapped. <br>
|
||||
For safety, this intention is disabled unless the project uses JDK 5.0 or greater.
|
||||
</font>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
+1
-2
@@ -1,7 +1,6 @@
|
||||
<html>
|
||||
<body>
|
||||
<font face="verdana" size="-1">This intention merges the <b>else</b> branch of an <b>if-else</b> statement,
|
||||
This intention merges the <b>else</b> branch of an <b>if-else</b> statement,
|
||||
if the <b>else</b> contains nothing but a nested <b>if-else</b> statement.
|
||||
</font>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
+2
-3
@@ -1,7 +1,6 @@
|
||||
<html>
|
||||
<body>
|
||||
<font face="verdana" size="-1">This intention merges an <b>if-else</b> statement inside
|
||||
the then-branch of another <b>if-else</b> into one.
|
||||
</font>
|
||||
This intention merges an <b>if-else</b> statement inside
|
||||
the then-branch of another <b>if-else</b> into one.
|
||||
</body>
|
||||
</html>
|
||||
|
||||
+2
-3
@@ -1,7 +1,6 @@
|
||||
<html>
|
||||
<body>
|
||||
<font face="verdana" size="-1">This intention merges an <b>if-else-if</b> statement
|
||||
into a single <b>if</b> statement, if their bodies are identical.
|
||||
</font>
|
||||
This intention merges an <b>if-else-if</b> statement
|
||||
into a single <b>if</b> statement, if their bodies are identical.
|
||||
</body>
|
||||
</html>
|
||||
|
||||
+2
-3
@@ -1,7 +1,6 @@
|
||||
<html>
|
||||
<body>
|
||||
<font face="verdana" size="-1">This intention merges the sequential <b>for</b> statements, possible.<br>
|
||||
Note that this intention will change order of execution.
|
||||
</font>
|
||||
This intention merges the sequential <b>for</b> statements, possible. <br>
|
||||
Note that this intention will change order of execution.
|
||||
</body>
|
||||
</html>
|
||||
|
||||
+2
-3
@@ -1,7 +1,6 @@
|
||||
<html>
|
||||
<body>
|
||||
<font face="verdana" size="-1">This intention merges the sequential <b>if</b> statements, if they
|
||||
have the same conditions.<br> Note that this intention may change order of execution.
|
||||
</font>
|
||||
This intention merges the sequential <b>if</b> statements, if they
|
||||
have the same conditions. <br> Note that this intention may change order of execution.
|
||||
</body>
|
||||
</html>
|
||||
|
||||
+1
-2
@@ -1,7 +1,6 @@
|
||||
<html>
|
||||
<body>
|
||||
<font face="verdana" size="-1">This intention moves a comment that is on the
|
||||
This intention moves a comment that is on the
|
||||
same line as code up to a separate line.
|
||||
</font>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
+2
-3
@@ -1,7 +1,6 @@
|
||||
<html>
|
||||
<body>
|
||||
<font face="verdana" size="-1">This intention moves local variable declaration as
|
||||
close as possible to its usage, narrowing the scope of the local variable.
|
||||
</font>
|
||||
This intention moves local variable declaration as
|
||||
close as possible to its usage, narrowing the scope of the local variable.
|
||||
</body>
|
||||
</html>
|
||||
|
||||
+12
-4
@@ -1,9 +1,17 @@
|
||||
<html>
|
||||
<body>
|
||||
<font face="verdana" size="-1">This intention converts boolean comparison expression <b>a</b> <font face="verdana" size="-2">op</font> <b>b</b> into
|
||||
This intention converts boolean comparison expression <b>a</b>
|
||||
<small>op</small>
|
||||
<b>b</b> into
|
||||
|
||||
!(<b>a</b> <font face="verdana" size="-2">negop</font> <b>b</b>). <br>
|
||||
Where <font face="verdana" size="-2">op</font> and <font face="verdana" size="-2">negop</font> are mutually inverse comparison operators, like <b>==</b> and <b>!=</b>.
|
||||
</font>
|
||||
!( <b>a</b>
|
||||
<small>negop</small>
|
||||
<b>b</b> ). <br>
|
||||
Where
|
||||
<small>op</small>
|
||||
and
|
||||
<small>negop</small>
|
||||
are mutually inverse comparison operators,
|
||||
like <b>==</b> and <b>!=</b> .
|
||||
</body>
|
||||
</html>
|
||||
|
||||
+2
-3
@@ -1,8 +1,7 @@
|
||||
<html>
|
||||
<body>
|
||||
<font face="verdana" size="-1">This intention replaces several exceptions in a <b>throws</b> clause with a single more general one.
|
||||
</font>
|
||||
This intention replaces several exceptions in a <b>throws</b> clause with a single more general one.
|
||||
<br><br>
|
||||
<font face="verdana" size="-2">New in 10.5</font>
|
||||
<small>New in 10.5</small>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
+1
-2
@@ -1,6 +1,5 @@
|
||||
<html>
|
||||
<body>
|
||||
<font face="verdana" size="-1">This intention simplifies the comparison of a boolean expression with the boolean literals <b>true</b> or <b>false</b>.
|
||||
</font>
|
||||
This intention simplifies the comparison of a boolean expression with the boolean literals <b>true</b> or <b>false</b>.
|
||||
</body>
|
||||
</html>
|
||||
|
||||
+2
-3
@@ -1,7 +1,6 @@
|
||||
<html>
|
||||
<body>
|
||||
<font face="verdana" size="-1">This intention removes braces from control flow statements with
|
||||
only a single statement in their code block.
|
||||
</font>
|
||||
This intention removes braces from control flow statements with
|
||||
only a single statement in their code block.
|
||||
</body>
|
||||
</html>
|
||||
|
||||
+1
-2
@@ -1,6 +1,5 @@
|
||||
<html>
|
||||
<body>
|
||||
<font face="verdana" size="-1">This intention simplifies a conditional operator <b>?:</b> whose branches are boolean literals.
|
||||
</font>
|
||||
This intention simplifies a conditional operator <b>?:</b> whose branches are boolean literals.
|
||||
</body>
|
||||
</html>
|
||||
|
||||
+1
-2
@@ -1,6 +1,5 @@
|
||||
<html>
|
||||
<body>
|
||||
<font face="verdana" size="-1">This intention removes parentheses when when they are redundant.
|
||||
</font>
|
||||
This intention removes parentheses when when they are redundant.
|
||||
</body>
|
||||
</html>
|
||||
|
||||
+5
-6
@@ -1,11 +1,10 @@
|
||||
<html>
|
||||
<body>
|
||||
<font face="verdana" size="-1">This intention replaces Automatic Resource Management
|
||||
with a regular <b>try finally</b> construct. If the ARM block has no <b>catch</b> section, the entire
|
||||
block is replaced. If the ARM does have a <b>catch</b> section, it is converted to a normal
|
||||
<b>try catch</b> block and the <b>try finally</b> construct is placed inside.
|
||||
</font>
|
||||
This intention replaces Automatic Resource Management
|
||||
with a regular <b>try finally</b> construct. If the ARM block has no <b>catch</b> section, the entire
|
||||
block is replaced. If the ARM does have a <b>catch</b> section, it is converted to a normal
|
||||
<b>try catch</b> block and the <b>try finally</b> construct is placed inside.
|
||||
<br><br>
|
||||
<font face="verdana" size="-2">New in 10.5</font>
|
||||
<small>New in 10.5</small>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
+3
-3
@@ -1,8 +1,8 @@
|
||||
<html>
|
||||
<body>
|
||||
<font face="verdana" size="-1">This intention is <b>JUnit</b> specific.<br>
|
||||
It replaces an <b>assertEquals()</b>call with an equivalent <b>assertTrue()</b>, <b>assertFalse()</b>, or <b>assertNull()</b> method call,
|
||||
This intention is <b>JUnit</b> specific. <br>
|
||||
It replaces an <b>assertEquals()</b> call with an equivalent <b>assertTrue()</b> , <b>assertFalse()</b> , or <b>assertNull()</b> method
|
||||
call,
|
||||
if possible.
|
||||
</font>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
+2
-3
@@ -1,7 +1,6 @@
|
||||
<html>
|
||||
<body>
|
||||
<font face="verdana" size="-1">This intention is <b>JUnit</b> specific.<br>
|
||||
It replaces an <b>assertTrue()</b>, <b>assertFalse()</b> or <b>assertNull()</b> method call with an equivalent <b>assertEquals()</b>.
|
||||
</font>
|
||||
This intention is <b>JUnit</b> specific. <br>
|
||||
It replaces an <b>assertTrue()</b> , <b>assertFalse()</b> or <b>assertNull()</b> method call with an equivalent <b>assertEquals()</b> .
|
||||
</body>
|
||||
</html>
|
||||
|
||||
+2
-3
@@ -1,9 +1,8 @@
|
||||
<html>
|
||||
<body>
|
||||
<font face="verdana" size="-1">This intention replaces an assignment expression
|
||||
This intention replaces an assignment expression
|
||||
with an equivalent post fix increment or decrement expression.
|
||||
</font>
|
||||
<br><br>
|
||||
<font face="verdana" size="-2">New in 9</font>
|
||||
<small>New in 9</small>
|
||||
</body>
|
||||
</html>
|
||||
+1
-2
@@ -1,7 +1,6 @@
|
||||
<html>
|
||||
<body>
|
||||
<font face="verdana" size="-1">This intention replaces a <b>String</b> concatenation with the equivalent
|
||||
This intention replaces a <b>String</b> concatenation with the equivalent
|
||||
java format pattern, using <b>java.lang.String.format()</b> or <b>java.io.PrintStream.printf()</b> where applicable.
|
||||
</font>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
+1
-2
@@ -1,7 +1,6 @@
|
||||
<html>
|
||||
<body>
|
||||
<font face="verdana" size="-1">This intention replaces <b>String</b> <b>+</b> concatenation operator with <b>StringBuffer.append()</b>.
|
||||
This intention replaces <b>String</b> <b>+</b> concatenation operator with <b>StringBuffer.append()</b> .
|
||||
For projects using J2SDK5.0, <b>StringBuilder.append()</b> will be used instead.
|
||||
</font>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
+2
-3
@@ -1,7 +1,6 @@
|
||||
<html>
|
||||
<body>
|
||||
<font face="verdana" size="-1">This intention replaces a conditional operator with
|
||||
the equivalent <b>if-else</b> statement.
|
||||
</font>
|
||||
This intention replaces a conditional operator with
|
||||
the equivalent <b>if-else</b> statement.
|
||||
</body>
|
||||
</html>
|
||||
|
||||
+2
-3
@@ -1,9 +1,8 @@
|
||||
<html>
|
||||
<body>
|
||||
<font face="verdana" size="-1">This intention replaces a <b><></b>(diamond) with the equivalent
|
||||
This intention replaces a <b><></b> (diamond) with the equivalent
|
||||
explicit type arguments.
|
||||
</font>
|
||||
<br><br>
|
||||
<font face="verdana" size="-2">New in 11</font>
|
||||
<small>New in 11</small>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
+2
-3
@@ -1,7 +1,6 @@
|
||||
<html>
|
||||
<body>
|
||||
<font face="verdana" size="-1">This intention replaces a <b>do-while</b> loop with
|
||||
an equivalent <b>while</b> loop construct.
|
||||
</font>
|
||||
This intention replaces a <b>do-while</b> loop with
|
||||
an equivalent <b>while</b> loop construct.
|
||||
</body>
|
||||
</html>
|
||||
|
||||
+1
-4
@@ -1,6 +1,3 @@
|
||||
<html>
|
||||
<body>
|
||||
<font face="verdana" size="-1">This intention replaces an <b>==</b> equality operator with an <b>equals()</b> method call.
|
||||
</font>
|
||||
<html><body>This intention replaces an <b>==</b> equality operator with an <b>equals()</b> method call.
|
||||
</body>
|
||||
</html>
|
||||
|
||||
+2
-4
@@ -1,6 +1,4 @@
|
||||
<html>
|
||||
<body>
|
||||
<font face="verdana" size="-1">This intention replaces an <b>==</b> equality operator with a safe <b>equals()</b> method call construct.
|
||||
</font>
|
||||
<html><body>This intention replaces an <b>==</b> equality operator with a safe <b>equals()</b> method call construct.
|
||||
</body>
|
||||
</html>
|
||||
|
||||
|
||||
+1
-4
@@ -1,6 +1,3 @@
|
||||
<html>
|
||||
<body>
|
||||
<font face="verdana" size="-1">This intention replaces an <b>equals()</b> method call with an <b>==</b> equality operator.
|
||||
</font>
|
||||
<html><body>This intention replaces an<b>equals()</b> method call with an <b>==</b> equality operator.
|
||||
</body>
|
||||
</html>
|
||||
|
||||
+3
-4
@@ -1,8 +1,7 @@
|
||||
<html>
|
||||
<body>
|
||||
<font face="verdana" size="-1">This intention replaces a JDK 5.0 for-each loop which
|
||||
iterates over a collection or array with an equivalent <b>for</b> loop that uses an index to
|
||||
iterate over the collection or array.
|
||||
</font>
|
||||
This intention replaces a JDK 5.0 for-each loop which
|
||||
iterates over a collection or array with an equivalent <b>for</b> loop that uses an index to
|
||||
iterate over the collection or array.
|
||||
</body>
|
||||
</html>
|
||||
|
||||
+3
-4
@@ -1,8 +1,7 @@
|
||||
<html>
|
||||
<body>
|
||||
<font face="verdana" size="-1">This intention replaces a JDK 5.0 for-each loop which
|
||||
iterates over a collection with an equivalent <b>for</b> loop that uses an
|
||||
<b>java.util.Iterator</b> to iterate over the collection.
|
||||
</font>
|
||||
This intention replaces a JDK 5.0 for-each loop which
|
||||
iterates over a collection with an equivalent <b>for</b> loop that uses an
|
||||
<b>java.util.Iterator</b> to iterate over the collection.
|
||||
</body>
|
||||
</html>
|
||||
|
||||
+2
-3
@@ -1,7 +1,6 @@
|
||||
<html>
|
||||
<body>
|
||||
<font face="verdana" size="-1">This intention replaces an indexed <b>for</b> loop with
|
||||
an equivalent <b>while</b> loop construct.
|
||||
</font>
|
||||
This intention replaces an indexed <b>for</b> loop with
|
||||
an equivalent <b>while</b> loop construct.
|
||||
</body>
|
||||
</html>
|
||||
|
||||
+2
-3
@@ -1,7 +1,6 @@
|
||||
<html>
|
||||
<body>
|
||||
<font face="verdana" size="-1">This intention adds an <b>import</b>
|
||||
statement for a qualified Java class reference and shortens the reference.
|
||||
</font>
|
||||
This intention adds an <b>import</b>
|
||||
statement for a qualified Java class reference and shortens the reference.
|
||||
</body>
|
||||
</html>
|
||||
|
||||
+1
-2
@@ -1,7 +1,6 @@
|
||||
<html>
|
||||
<body>
|
||||
<font face="verdana" size="-1">This intention replaces an <b>if-else</b> statement
|
||||
This intention replaces an <b>if-else</b> statement
|
||||
with an equivalent statement using a conditional expression, if possible.
|
||||
</font>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
+2
-3
@@ -1,7 +1,6 @@
|
||||
<html>
|
||||
<body>
|
||||
<font face="verdana" size="-1">This intention replaces series of <b>if-else</b>
|
||||
statements with an equivalent <b>switch</b> statement.
|
||||
</font>
|
||||
This intention replaces series of <b>if-else</b>
|
||||
statements with an equivalent <b>switch</b> statement.
|
||||
</body>
|
||||
</html>
|
||||
|
||||
+2
-4
@@ -1,6 +1,4 @@
|
||||
<html>
|
||||
<body>
|
||||
<font face="verdana" size="-1">This intention replaces <b>multiplication</b> operator with the integer shift operator <b><<</b>.
|
||||
</font>
|
||||
<html><body>This intention replaces<b>multiplication</b> operator with the integer shift operator <b><<</b>.
|
||||
</body>
|
||||
</html>
|
||||
|
||||
|
||||
+2
-3
@@ -1,7 +1,6 @@
|
||||
<html>
|
||||
<body>
|
||||
<font face="verdana" size="-1">This intention replaces an on-demand
|
||||
<b>import</b> statement with the equivalent single class <b>import</b> statements.
|
||||
</font>
|
||||
This intention replaces an on-demand
|
||||
<b>import</b> statement with the equivalent single class <b>import</b> statements.
|
||||
</body>
|
||||
</html>
|
||||
|
||||
+1
-2
@@ -1,7 +1,6 @@
|
||||
<html>
|
||||
<body>
|
||||
<font face="verdana" size="-1">This intention replaces an operator assignment
|
||||
This intention replaces an operator assignment
|
||||
expression with an equivalent plain assignment expression.
|
||||
</font>
|
||||
</body>
|
||||
</html>
|
||||
+2
-3
@@ -1,10 +1,9 @@
|
||||
<html>
|
||||
<body>
|
||||
<font face="verdana" size="-1">This intention replaces an operator assignment
|
||||
This intention replaces an operator assignment
|
||||
expression which increments or decrements an <b>int</b> or <b>long</b> with an
|
||||
equivalent postfix increment or decrement expression.
|
||||
</font>
|
||||
<br><br>
|
||||
<font face="verdana" size="-2">New in 9</font>
|
||||
<small>New in 9</small>
|
||||
</body>
|
||||
</html>
|
||||
+2
-3
@@ -1,9 +1,8 @@
|
||||
<html>
|
||||
<body>
|
||||
<font face="verdana" size="-1">This intention replaces a post fix increment or
|
||||
This intention replaces a post fix increment or
|
||||
decrement expression with an equivalent assignment expression.
|
||||
</font>
|
||||
<br><br>
|
||||
<font face="verdana" size="-2">New in 9</font>
|
||||
<small>New in 9</small>
|
||||
</body>
|
||||
</html>
|
||||
+2
-3
@@ -1,9 +1,8 @@
|
||||
<html>
|
||||
<body>
|
||||
<font face="verdana" size="-1">This intention replaces a post fix increment or
|
||||
This intention replaces a post fix increment or
|
||||
decrement expression with an equivalent operator assignment expression.
|
||||
</font>
|
||||
<br><br>
|
||||
<font face="verdana" size="-2">New in 9</font>
|
||||
<small>New in 9</small>
|
||||
</body>
|
||||
</html>
|
||||
+2
-3
@@ -1,7 +1,6 @@
|
||||
<html>
|
||||
<body>
|
||||
<font face="verdana" size="-1">This intention replaces the integer shift operator <b><<</b>
|
||||
with an equivalent multiplication expression.
|
||||
</font>
|
||||
This intention replaces the integer shift operator <b><<</b>
|
||||
with an equivalent multiplication expression.
|
||||
</body>
|
||||
</html>
|
||||
|
||||
+2
-3
@@ -1,7 +1,6 @@
|
||||
<html>
|
||||
<body>
|
||||
<font face="verdana" size="-1">This intention replaces a <b>switch</b> statement with
|
||||
an equivalent series of <b>if-else</b> statements.
|
||||
</font>
|
||||
This intention replaces a <b>switch</b> statement with
|
||||
an equivalent series of <b>if-else</b> statements.
|
||||
</body>
|
||||
</html>
|
||||
|
||||
+2
-3
@@ -1,7 +1,6 @@
|
||||
<html>
|
||||
<body>
|
||||
<font face="verdana" size="-1">This intention replaces a <b>while</b> loop with
|
||||
an equivalent <b>do-while</b> loop construct.
|
||||
</font>
|
||||
This intention replaces a <b>while</b> loop with
|
||||
an equivalent <b>do-while</b> loop construct.
|
||||
</body>
|
||||
</html>
|
||||
|
||||
+2
-3
@@ -1,7 +1,6 @@
|
||||
<html>
|
||||
<body>
|
||||
<font face="verdana" size="-1">This intention replaces a variable assignment statement
|
||||
with an equivalent assignment operator expression.
|
||||
</font>
|
||||
This intention replaces a variable assignment statement
|
||||
with an equivalent assignment operator expression.
|
||||
</body>
|
||||
</html>
|
||||
|
||||
+2
-2
@@ -1,7 +1,7 @@
|
||||
<html>
|
||||
<body>
|
||||
<font face="verdana" size="-1">This intention reverses the order of traversal of a <b>for</b> loop.</font>
|
||||
This intention reverses the order of traversal of a <b>for</b> loop.
|
||||
<br><br>
|
||||
<font face="verdana" size="-2">New in 9</font>
|
||||
<small>New in 9</small>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
+1
-2
@@ -1,6 +1,5 @@
|
||||
<html>
|
||||
<body>
|
||||
<font face="verdana" size="-1">This intention simplifies an unnecessary <b>if-else</b> statement.
|
||||
</font>
|
||||
This intention simplifies an unnecessary <b>if-else</b> statement.
|
||||
</body>
|
||||
</html>
|
||||
|
||||
+1
-2
@@ -1,6 +1,5 @@
|
||||
<html>
|
||||
<body>
|
||||
<font face="verdana" size="-1">This intention replaces <b>C-style</b> array declaration with <b>Java-style</b>.
|
||||
</font>
|
||||
This intention replaces <b>C-style</b> array declaration with <b>Java-style</b>.
|
||||
</body>
|
||||
</html>
|
||||
|
||||
+2
-3
@@ -1,7 +1,6 @@
|
||||
<html>
|
||||
<body>
|
||||
<font face="verdana" size="-1">This intention splits a field declaration with
|
||||
initialization into a declaration and an initializer block.
|
||||
</font>
|
||||
This intention splits a field declaration with
|
||||
initialization into a declaration and an initializer block.
|
||||
</body>
|
||||
</html>
|
||||
|
||||
+1
-2
@@ -1,6 +1,5 @@
|
||||
<html>
|
||||
<body>
|
||||
<font face="verdana" size="-1">This intention splits <b>else</b> branch of the <b>if-else</b> statement.
|
||||
</font>
|
||||
This intention splits <b>else</b> branch of the <b>if-else</b> statement.
|
||||
</body>
|
||||
</html>
|
||||
|
||||
+2
-3
@@ -1,9 +1,8 @@
|
||||
<html>
|
||||
<body>
|
||||
<font face="verdana" size="-1">This intention splits a multicatch section into
|
||||
This intention splits a multicatch section into
|
||||
separate <b>catch</b> blocks.
|
||||
</font>
|
||||
<br><br>
|
||||
<font face="verdana" size="-2">New in 10.5</font>
|
||||
<small>New in 10.5</small>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
+3
-4
@@ -1,8 +1,7 @@
|
||||
<html>
|
||||
<body>
|
||||
<font face="verdana" size="-1">This intention replaces single character string literals with
|
||||
equivalent character literals. Only strings used in concatenations or other similar contexts
|
||||
can be changed with this intention.
|
||||
</font>
|
||||
This intention replaces single character string literals with
|
||||
equivalent character literals. Only strings used in concatenations or other similar contexts
|
||||
can be changed with this intention.
|
||||
</body>
|
||||
</html>
|
||||
|
||||
+1
-2
@@ -1,7 +1,6 @@
|
||||
<html>
|
||||
<body>
|
||||
<font face="verdana" size="-1">This intention replaces <b>method(argument1, argument2)</b> with <b>method(argument2, argument1)</b>.
|
||||
This intention replaces <b>method(argument1, argument2)</b> with <b>method(argument2, argument1)</b> .
|
||||
Only the arguments of methods with exactly two parameters can be flipped.
|
||||
</font>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
+1
-2
@@ -1,7 +1,6 @@
|
||||
<html>
|
||||
<body>
|
||||
<font face="verdana" size="-1">This intention wraps the arguments of a variable
|
||||
This intention wraps the arguments of a variable
|
||||
arity parameter with an explicit array expression.
|
||||
</font>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
+2
-3
@@ -1,7 +1,6 @@
|
||||
<html>
|
||||
<body>
|
||||
<font face="verdana" size="-1">
|
||||
This intention converts one of more "end-of-line" comments to block comments.
|
||||
</font>
|
||||
|
||||
This intention converts one of more "end-of-line" comments to block comments.
|
||||
</body>
|
||||
</html>
|
||||
|
||||
+2
-3
@@ -1,7 +1,6 @@
|
||||
<html>
|
||||
<body>
|
||||
<font face="verdana" size="-1">
|
||||
This intention converts a block comment to one or more "end-of-line" comments.
|
||||
</font>
|
||||
|
||||
This intention converts a block comment to one or more "end-of-line" comments.
|
||||
</body>
|
||||
</html>
|
||||
|
||||
+1
-17
@@ -1,21 +1,5 @@
|
||||
<!--
|
||||
~ Copyright 2000-2007 JetBrains s.r.o.
|
||||
~ Licensed under the Apache License, Version 2.0 (the "License");
|
||||
~ you may not use this file except in compliance with the License.
|
||||
~ You may obtain a copy of the License at
|
||||
~
|
||||
~ http://www.apache.org/licenses/LICENSE-2.0
|
||||
~
|
||||
~ Unless required by applicable law or agreed to in writing, software
|
||||
~ distributed under the License is distributed on an "AS IS" BASIS,
|
||||
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
~ See the License for the specific language governing permissions and
|
||||
~ limitations under the License.
|
||||
-->
|
||||
|
||||
<html>
|
||||
<body>
|
||||
<font face="verdana" size="-1">This intention changes appropriate conditional operator to it's Elvis represenation.
|
||||
</font>
|
||||
This intention changes appropriate conditional operator to it's Elvis represenation.
|
||||
</body>
|
||||
</html>
|
||||
|
||||
+1
-2
@@ -1,7 +1,6 @@
|
||||
<html>
|
||||
<body>
|
||||
<font face="verdana" size="-1">This converts an implicit call to a closure into an explicit call.<br>
|
||||
</font>
|
||||
This converts an implicit call to a closure into an explicit call. <br>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
|
||||
+1
-2
@@ -1,7 +1,6 @@
|
||||
<html>
|
||||
<body>
|
||||
<font face="verdana" size="-1">
|
||||
|
||||
This intention converts properties of closure type to methods.
|
||||
</font>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
+1
-2
@@ -1,7 +1,6 @@
|
||||
<html>
|
||||
<body>
|
||||
<font face="verdana" size="-1">
|
||||
|
||||
This intention converts selected concatenation to GString format.
|
||||
</font>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user