mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-05-06 05:10:22 +07:00
sentence capitalization
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
import static java.lang.Integer.parseInt;
|
||||
|
||||
// "Static Import Method 'java.lang.Integer.parseInt'" "true"
|
||||
// "Static import method 'java.lang.Integer.parseInt'" "true"
|
||||
public class X {
|
||||
{
|
||||
<caret>parseInt("",10);
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// "Static Import Method..." "true"
|
||||
// "Static import method..." "true"
|
||||
package p;
|
||||
|
||||
import static p.FFF.myEqualTo;
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import static java.lang.String.format;
|
||||
|
||||
// "Static Import Method 'java.lang.String.format'" "true"
|
||||
// "Static import method 'java.lang.String.format'" "true"
|
||||
public class X {
|
||||
{
|
||||
format("");
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// "Static Import Method 'foo.B.aaaaaaa'" "true"
|
||||
// "Static import method 'foo.B.aaaaaaa'" "true"
|
||||
package foo;
|
||||
|
||||
import static foo.B.aaaaaaa;
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// "Static Import Method 'foo.B.aaaaaaa'" "true"
|
||||
// "Static import method 'foo.B.aaaaaaa'" "true"
|
||||
package foo;
|
||||
|
||||
import static foo.B.aaaaaaa;
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// "Static Import Method 'java.lang.Integer.parseInt'" "true"
|
||||
// "Static import method 'java.lang.Integer.parseInt'" "true"
|
||||
public class X {
|
||||
{
|
||||
<caret>parseInt("",10);
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// "Static Import Method..." "true"
|
||||
// "Static import method..." "true"
|
||||
package p;
|
||||
public class X {
|
||||
public void test() throws Exception {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// "Static Import Method 'foo.B.aaaaaaa'" "false"
|
||||
// "Static import method 'foo.B.aaaaaaa'" "false"
|
||||
package foo;
|
||||
|
||||
public class X {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// "Static Import Method 'java.lang.Integer.parseInt'" "false"
|
||||
// "Static import method 'java.lang.Integer.parseInt'" "false"
|
||||
public class X {
|
||||
{
|
||||
this.<caret>parseInt("",10);
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// "Static Import Method 'java.lang.String.format'" "true"
|
||||
// "Static import method 'java.lang.String.format'" "true"
|
||||
public class X {
|
||||
{
|
||||
String.format("");
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// "Static Import Method 'foo.B.aaaaaaa'" "true"
|
||||
// "Static import method 'foo.B.aaaaaaa'" "true"
|
||||
package foo;
|
||||
public class X {
|
||||
{
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// "Static Import Method 'foo.B.aaaaaaa'" "true"
|
||||
// "Static import method 'foo.B.aaaaaaa'" "true"
|
||||
package foo;
|
||||
|
||||
public class X {
|
||||
|
||||
@@ -65,7 +65,7 @@ public class GroovyStaticImportMethodFix extends Intention {
|
||||
@Override
|
||||
@NotNull
|
||||
public String getText() {
|
||||
String text = "Static Import Method";
|
||||
String text = "Static import method";
|
||||
if (getCandidates().size() == 1) {
|
||||
final int options = PsiFormatUtilBase.SHOW_NAME | PsiFormatUtilBase.SHOW_CONTAINING_CLASS | PsiFormatUtilBase.SHOW_FQ_NAME;
|
||||
text += " '" + PsiFormatUtil.formatMethod(getCandidates().get(0), PsiSubstitutor.EMPTY, options, 0) + "'";
|
||||
|
||||
@@ -1796,7 +1796,7 @@ class A {
|
||||
foo(<caret>)
|
||||
''')
|
||||
|
||||
myFixture.getAvailableIntention("Static Import Method 'A.foo'")
|
||||
myFixture.getAvailableIntention("Static import method 'A.foo'")
|
||||
}
|
||||
|
||||
void testInaccessibleWithCompileStatic() {
|
||||
|
||||
@@ -223,7 +223,7 @@ orderEntry.fix.circular.dependency.warning=Adding dependency on module ''{0}'' w
|
||||
orderEntry.fix.title.circular.dependency.warning=Circular Dependency Warning
|
||||
orderEntry.fix.add.junit.jar.to.classpath=Add junit to classpath
|
||||
orderEntry.fix.add.annotations.jar.to.classpath=Add 'annotations.jar' to classpath
|
||||
static.import.method.text=Static Import Method
|
||||
static.import.method.text=Static import method
|
||||
static.import.method.choose.method.to.import=Choose Method to Import
|
||||
|
||||
add.library.title.dialog=Add Library to Project
|
||||
@@ -273,4 +273,4 @@ annotations.fix=Annotations
|
||||
add.missing.annotation.parameters.fix=Add missing annotation parameters - {0}
|
||||
add.missing.annotation.single.parameter.fix=Add missing annotation parameter ''{0}''
|
||||
|
||||
add.method.qualifier.fix.text=Add Qualifier {0} to Method
|
||||
add.method.qualifier.fix.text=Add qualifier {0} to method
|
||||
Reference in New Issue
Block a user