diff --git a/plugin/src/main/java/com/intellij/java/impl/codeInsight/generation/actions/GenerateConstructorAction.java b/plugin/src/main/java/com/intellij/java/impl/codeInsight/generation/actions/GenerateConstructorAction.java index 18700ac9f..cf048c13f 100644 --- a/plugin/src/main/java/com/intellij/java/impl/codeInsight/generation/actions/GenerateConstructorAction.java +++ b/plugin/src/main/java/com/intellij/java/impl/codeInsight/generation/actions/GenerateConstructorAction.java @@ -30,7 +30,7 @@ @ActionImpl(id = "GenerateConstructor") public class GenerateConstructorAction extends BaseGenerateAction { public GenerateConstructorAction() { - super(new GenerateConstructorHandler(), JavaLocalize.actionGenerateconstructorText()); + super(new GenerateConstructorHandler(), JavaLocalize.actionGenerateConstructorText()); } @Override diff --git a/plugin/src/main/java/com/intellij/java/impl/codeInsight/generation/actions/GenerateCreateUIAction.java b/plugin/src/main/java/com/intellij/java/impl/codeInsight/generation/actions/GenerateCreateUIAction.java index 2ba71f5f1..da0ec433f 100644 --- a/plugin/src/main/java/com/intellij/java/impl/codeInsight/generation/actions/GenerateCreateUIAction.java +++ b/plugin/src/main/java/com/intellij/java/impl/codeInsight/generation/actions/GenerateCreateUIAction.java @@ -27,7 +27,7 @@ @ActionImpl(id = "GenerateCreateUI") public class GenerateCreateUIAction extends BaseGenerateAction { public GenerateCreateUIAction() { - super(new GenerateCreateUIHandler(), JavaLocalize.actionGeneratecreateuiText()); + super(new GenerateCreateUIHandler(), JavaLocalize.actionGenerateCreateUIText()); } @Override diff --git a/plugin/src/main/java/com/intellij/java/impl/codeInsight/generation/actions/GenerateEqualsAction.java b/plugin/src/main/java/com/intellij/java/impl/codeInsight/generation/actions/GenerateEqualsAction.java index 3823f4b7e..65bd0cc7d 100644 --- a/plugin/src/main/java/com/intellij/java/impl/codeInsight/generation/actions/GenerateEqualsAction.java +++ b/plugin/src/main/java/com/intellij/java/impl/codeInsight/generation/actions/GenerateEqualsAction.java @@ -30,7 +30,7 @@ @ActionImpl(id = "GenerateEquals") public class GenerateEqualsAction extends BaseGenerateAction { public GenerateEqualsAction() { - super(new GenerateEqualsHandler(), JavaLocalize.actionGenerateequalsText()); + super(new GenerateEqualsHandler(), JavaLocalize.actionGenerateEqualsText()); } @Override diff --git a/plugin/src/main/java/com/intellij/java/impl/codeInsight/generation/actions/GenerateGetterAction.java b/plugin/src/main/java/com/intellij/java/impl/codeInsight/generation/actions/GenerateGetterAction.java index 66cce7892..9c1c52713 100644 --- a/plugin/src/main/java/com/intellij/java/impl/codeInsight/generation/actions/GenerateGetterAction.java +++ b/plugin/src/main/java/com/intellij/java/impl/codeInsight/generation/actions/GenerateGetterAction.java @@ -28,6 +28,6 @@ @ActionImpl(id = "GenerateGetter") public class GenerateGetterAction extends GenerateGetterSetterBaseAction { public GenerateGetterAction() { - super(new GenerateGetterHandler(), JavaLocalize.actionGenerategetterText()); + super(new GenerateGetterHandler(), JavaLocalize.actionGenerateGetterText()); } } \ No newline at end of file diff --git a/plugin/src/main/java/com/intellij/java/impl/codeInsight/generation/actions/GenerateGetterAndSetterAction.java b/plugin/src/main/java/com/intellij/java/impl/codeInsight/generation/actions/GenerateGetterAndSetterAction.java index e76c00a93..2bc85454d 100644 --- a/plugin/src/main/java/com/intellij/java/impl/codeInsight/generation/actions/GenerateGetterAndSetterAction.java +++ b/plugin/src/main/java/com/intellij/java/impl/codeInsight/generation/actions/GenerateGetterAndSetterAction.java @@ -28,6 +28,6 @@ @ActionImpl(id = "GenerateGetterAndSetter") public class GenerateGetterAndSetterAction extends GenerateGetterSetterBaseAction { public GenerateGetterAndSetterAction() { - super(new GenerateGetterAndSetterHandler(), JavaLocalize.actionGenerategetterandsetterText()); + super(new GenerateGetterAndSetterHandler(), JavaLocalize.actionGenerateGetterAndSetterText()); } } \ No newline at end of file diff --git a/plugin/src/main/java/com/intellij/java/impl/codeInsight/generation/actions/GenerateSetterAction.java b/plugin/src/main/java/com/intellij/java/impl/codeInsight/generation/actions/GenerateSetterAction.java index 95cecec43..25b0221a9 100644 --- a/plugin/src/main/java/com/intellij/java/impl/codeInsight/generation/actions/GenerateSetterAction.java +++ b/plugin/src/main/java/com/intellij/java/impl/codeInsight/generation/actions/GenerateSetterAction.java @@ -28,6 +28,6 @@ @ActionImpl(id = "GenerateSetter") public class GenerateSetterAction extends GenerateGetterSetterBaseAction { public GenerateSetterAction() { - super(new GenerateSetterHandler(), JavaLocalize.actionGeneratesetterText()); + super(new GenerateSetterHandler(), JavaLocalize.actionGenerateSetterText()); } } \ No newline at end of file diff --git a/plugin/src/main/java/com/intellij/java/impl/codeInspection/inferNullity/InferNullityAnnotationsAction.java b/plugin/src/main/java/com/intellij/java/impl/codeInspection/inferNullity/InferNullityAnnotationsAction.java index b7d255cc8..1e17c7f5e 100644 --- a/plugin/src/main/java/com/intellij/java/impl/codeInspection/inferNullity/InferNullityAnnotationsAction.java +++ b/plugin/src/main/java/com/intellij/java/impl/codeInspection/inferNullity/InferNullityAnnotationsAction.java @@ -81,8 +81,8 @@ public class InferNullityAnnotationsAction extends BaseAnalysisAction { public InferNullityAnnotationsAction() { super( - JavaLocalize.actionInfernullityText(), - JavaLocalize.actionInfernullityDescription(), + JavaLocalize.actionInferNullityText(), + JavaLocalize.actionInferNullityDescription(), LocalizeValue.localizeTODO("Infer Nullity"), INFER_NULLITY_ANNOTATIONS ); @@ -91,8 +91,8 @@ public InferNullityAnnotationsAction() { @Override @RequiredUIAccess protected void analyze(@Nonnull Project project, @Nonnull AnalysisScope scope) { - boolean annotateLocaVars = myAnnotateLocalVariablesCb.getValueOrError(); - ApplicationPropertiesComponent.getInstance().setValue(ANNOTATE_LOCAL_VARIABLES, annotateLocaVars); + boolean annotateLocalVars = myAnnotateLocalVariablesCb.getValueOrError(); + ApplicationPropertiesComponent.getInstance().setValue(ANNOTATE_LOCAL_VARIABLES, annotateLocalVars); myAnnotateLocalVariablesCb = null; ProgressManager progressManager = ProgressManager.getInstance(); @@ -150,16 +150,16 @@ else if (javaPsiFacade.findClass( return; } PsiDocumentManager.getInstance(project).commitAllDocuments(); - UsageInfo[] usageInfos = findUsages(annotateLocaVars, project, scope, fileCount[0]); + UsageInfo[] usageInfos = findUsages(annotateLocalVars, project, scope, fileCount[0]); if (usageInfos == null) { return; } - processUsages(annotateLocaVars, project, scope, usageInfos); + processUsages(annotateLocalVars, project, scope, usageInfos); } protected void processUsages( - boolean annotateLocaVars, + boolean annotateLocalVars, @Nonnull Project project, @Nonnull AnalysisScope scope, @Nonnull UsageInfo[] usageInfos @@ -168,7 +168,7 @@ protected void processUsages( applyRunnable(project, () -> usageInfos).run(); } else { - showUsageView(annotateLocaVars, project, usageInfos, scope); + showUsageView(annotateLocalVars, project, usageInfos, scope); } } @@ -185,7 +185,7 @@ public static boolean addAnnotationsDependency( message += StringUtil.join(modulesWithoutAnnotations, Module::getName, ", "); message += (modulesWithoutAnnotations.size() == 1 ? " doesn't" : " don't"); message += " refer to the existing '" + annotationsLib.getName() + "' library" + - " with Consulo nullity annotations. Would you like to add the dependenc"; + " with Consulo nullity annotations. Would you like to add the dependency"; message += (modulesWithoutAnnotations.size() == 1 ? "y" : "ies") + " now?"; if (Messages.showOkCancelDialog(project, message, title.get(), UIUtil.getErrorIcon()) == Messages.OK) { project.getApplication().runWriteAction(() -> @@ -199,26 +199,37 @@ public static boolean addAnnotationsDependency( return false; } - /*if (Messages.showOkCancelDialog(project, "It is required that JetBrains annotations" + " be available in all your project sources.\n\nYou will need to add annotations.jar as a library. " + - "It is possible to configure custom JAR\nin e.g. Constant Conditions & Exceptions inspection or use JetBrains annotations available in installation. " + "\nIntelliJ IDEA nullity " + - "annotations are freely usable and redistributable under the Apache 2.0 license.\nWould you like to do it now?", title, Messages.getErrorIcon()) == Messages.OK) - { - Module firstModule = modulesWithoutAnnotations.iterator().next(); - JavaProjectModelModificationService.getInstance(project).addDependency(modulesWithoutAnnotations, JetBrainsAnnotationsExternalLibraryResolver.getAnnotationsLibraryDescriptor(firstModule) - , DependencyScope.COMPILE); - return true; - } */ + /* + if (Messages.showOkCancelDialog( + project, + "It is required that JetBrains annotations be available in all your project sources.\n\n" + + "You will need to add annotations.jar as a library. It is possible to configure custom JAR\n" + + "in e.g. Constant Conditions & Exceptions inspection or use JetBrains annotations available in installation.\n" + + "IntelliJ IDEA nullity annotations are freely usable and redistributable under the Apache 2.0 license.\n" + + "Would you like to do it now?", + title, + Messages.getErrorIcon() + ) == Messages.OK) { + Module firstModule = modulesWithoutAnnotations.iterator().next(); + JavaProjectModelModificationService.getInstance(project).addDependency( + modulesWithoutAnnotations, + JetBrainsAnnotationsExternalLibraryResolver.getAnnotationsLibraryDescriptor(firstModule), + DependencyScope.COMPILE + ); + return true; + } + */ return false; } @Nullable protected UsageInfo[] findUsages( - boolean annotateLocaVars, + boolean annotateLocalVars, @Nonnull Project project, @Nonnull AnalysisScope scope, int fileCount ) { - NullityInferrer inferrer = new NullityInferrer(annotateLocaVars, project); + NullityInferrer inferrer = new NullityInferrer(annotateLocalVars, project); PsiManager psiManager = PsiManager.getInstance(project); Runnable searchForUsages = () -> scope.accept(new PsiElementVisitor() { int myFileCount; @@ -235,7 +246,7 @@ public void visitFile(PsiFile file) { ProgressIndicator progressIndicator = ProgressManager.getInstance().getProgressIndicator(); if (progressIndicator != null) { progressIndicator.setText2(ProjectUtil.calcRelativeToProjectPath(virtualFile, project)); - progressIndicator.setFraction(((double)myFileCount) / fileCount); + progressIndicator.setFraction(((double) myFileCount) / fileCount); } if (file instanceof PsiJavaFile) { inferrer.collect(file); @@ -309,7 +320,7 @@ protected void restartAnalysis(Project project, AnalysisScope scope) { } private void showUsageView( - boolean annotateLocaVars, + boolean annotateLocalVars, @Nonnull Project project, UsageInfo[] usageInfos, @Nonnull AnalysisScope scope @@ -334,10 +345,10 @@ private void showUsageView( presentation.setTabText("Infer Nullity Preview"); presentation.setShowReadOnlyStatusAsRed(true); presentation.setShowCancelButton(true); - presentation.setUsagesString(RefactoringLocalize.usageviewUsagestext().get()); + presentation.setUsagesString(RefactoringLocalize.usageviewUsagestext()); UsageView usageView = - UsageViewManager.getInstance(project).showUsages(targets, usages, presentation, rerunFactory(annotateLocaVars, project, scope)); + UsageViewManager.getInstance(project).showUsages(targets, usages, presentation, rerunFactory(annotateLocalVars, project, scope)); Runnable refactoringRunnable = applyRunnable(project, () -> { @@ -345,8 +356,9 @@ private void showUsageView( return infos.toArray(new UsageInfo[infos.size()]); }); - String canNotMakeString = - "Cannot perform operation.\nThere were changes in code after usages have been found.\nPlease perform operation search again."; + String canNotMakeString = "Cannot perform operation.\n" + + "There were changes in code after usages have been found.\n" + + "Please perform operation search again."; usageView.addPerformOperationAction( refactoringRunnable, @@ -359,7 +371,7 @@ private void showUsageView( @Nonnull private Supplier rerunFactory( - boolean annotateLocaVars, + boolean annotateLocalVars, @Nonnull Project project, @Nonnull AnalysisScope scope ) { @@ -368,7 +380,7 @@ private Supplier rerunFactory( @Override protected UsageInfo[] findUsages() { return ObjectUtil.notNull( - InferNullityAnnotationsAction.this.findUsages(annotateLocaVars, project, scope, scope.getFileCount()), + InferNullityAnnotationsAction.this.findUsages(annotateLocalVars, project, scope, scope.getFileCount()), UsageInfo.EMPTY_ARRAY ); } @@ -380,8 +392,8 @@ public void generate(@Nonnull Predicate processor) { }; } - @RequiredUIAccess @Override + @RequiredUIAccess protected void extendMainLayout(BaseAnalysisActionDialog dialog, VerticalLayout layout, Project project) { myAnnotateLocalVariablesCb = CheckBox.create(LocalizeValue.localizeTODO("Annotate local variables")); diff --git a/plugin/src/main/java/com/intellij/java/impl/ide/actions/CreateClassAction.java b/plugin/src/main/java/com/intellij/java/impl/ide/actions/CreateClassAction.java index b74453f0d..d50fe53a8 100644 --- a/plugin/src/main/java/com/intellij/java/impl/ide/actions/CreateClassAction.java +++ b/plugin/src/main/java/com/intellij/java/impl/ide/actions/CreateClassAction.java @@ -57,7 +57,7 @@ @ActionImpl(id = "JavaNewClass", parents = @ActionParentRef(value = @ActionRef(id = "NewGroup1"), anchor = ActionRefAnchor.FIRST)) public class CreateClassAction extends JavaCreateTemplateInPackageAction implements DumbAware { public CreateClassAction() { - super(LocalizeValue.empty(), LocalizeValue.empty(), PlatformIconGroup.nodesClass(), true); + super(JavaLocalize.actionNewClassText(), JavaLocalize.actionNewClassDescription(), PlatformIconGroup.nodesClass(), true); } @Override @@ -100,14 +100,14 @@ public String getErrorText(String inputString) { return null; } - @RequiredUIAccess @Override + @RequiredUIAccess public boolean checkInput(String inputString) { return true; } - @RequiredUIAccess @Override + @RequiredUIAccess public boolean canClose(String inputString) { return !StringUtil.isEmptyOrSpaces(inputString) && getErrorText(inputString) == null; } diff --git a/plugin/src/main/java/com/intellij/java/impl/javadoc/actions/GenerateJavadocAction.java b/plugin/src/main/java/com/intellij/java/impl/javadoc/actions/GenerateJavadocAction.java index 19102179e..892c85b4a 100644 --- a/plugin/src/main/java/com/intellij/java/impl/javadoc/actions/GenerateJavadocAction.java +++ b/plugin/src/main/java/com/intellij/java/impl/javadoc/actions/GenerateJavadocAction.java @@ -49,8 +49,8 @@ public final class GenerateJavadocAction extends BaseAnalysisAction { public GenerateJavadocAction() { super( - JavaLocalize.actionGeneratejavadocText(), - JavaLocalize.actionGeneratejavadocDescription(), + JavaLocalize.actionGenerateJavadocText(), + JavaLocalize.actionGenerateJavadocDescription(), JavadocLocalize.javadocGenerateTitle(), JavadocLocalize.javadocGenerateTitle() ); diff --git a/plugin/src/main/java/com/intellij/java/impl/refactoring/actions/InvertBooleanAction.java b/plugin/src/main/java/com/intellij/java/impl/refactoring/actions/InvertBooleanAction.java index 3b8d999fd..8b83eae91 100644 --- a/plugin/src/main/java/com/intellij/java/impl/refactoring/actions/InvertBooleanAction.java +++ b/plugin/src/main/java/com/intellij/java/impl/refactoring/actions/InvertBooleanAction.java @@ -36,7 +36,7 @@ @ActionImpl(id = "InvertBoolean") public class InvertBooleanAction extends BaseRefactoringAction { public InvertBooleanAction() { - super(JavaLocalize.actionInvertbooleanText(), JavaLocalize.actionInvertbooleanText()); + super(JavaLocalize.actionInvertBooleanText(), JavaLocalize.actionInvertBooleanDescription()); } @Override diff --git a/plugin/src/main/java/com/intellij/java/impl/refactoring/actions/MakeStaticAction.java b/plugin/src/main/java/com/intellij/java/impl/refactoring/actions/MakeStaticAction.java index b8381de7a..402928946 100644 --- a/plugin/src/main/java/com/intellij/java/impl/refactoring/actions/MakeStaticAction.java +++ b/plugin/src/main/java/com/intellij/java/impl/refactoring/actions/MakeStaticAction.java @@ -42,7 +42,7 @@ @ActionImpl(id = "MakeStatic") public class MakeStaticAction extends BaseRefactoringAction { public MakeStaticAction() { - super(JavaLocalize.actionMakestaticText(), JavaLocalize.actionMakestaticDescription()); + super(JavaLocalize.actionMakeStaticText(), JavaLocalize.actionMakeStaticDescription()); } @Override diff --git a/plugin/src/main/java/com/intellij/java/impl/slicer/SliceBackwardAction.java b/plugin/src/main/java/com/intellij/java/impl/slicer/SliceBackwardAction.java index 8cfbdb463..ade0bb160 100644 --- a/plugin/src/main/java/com/intellij/java/impl/slicer/SliceBackwardAction.java +++ b/plugin/src/main/java/com/intellij/java/impl/slicer/SliceBackwardAction.java @@ -29,7 +29,7 @@ public class SliceBackwardAction extends CodeInsightAction { private final SliceHandler myHandler = new SliceHandler(true); public SliceBackwardAction() { - super(JavaLocalize.actionSlicebackwardText(), JavaLocalize.actionSlicebackwardDescription()); + super(JavaLocalize.actionSliceBackwardText(), JavaLocalize.actionSliceBackwardDescription()); } @Nonnull diff --git a/plugin/src/main/java/com/intellij/java/impl/slicer/SliceForwardAction.java b/plugin/src/main/java/com/intellij/java/impl/slicer/SliceForwardAction.java index 37571f992..384fa0f5a 100644 --- a/plugin/src/main/java/com/intellij/java/impl/slicer/SliceForwardAction.java +++ b/plugin/src/main/java/com/intellij/java/impl/slicer/SliceForwardAction.java @@ -30,7 +30,7 @@ public class SliceForwardAction extends CodeInsightAction { private final SliceHandler myHandler = new SliceForwardHandler(); public SliceForwardAction() { - super(JavaLocalize.actionSliceforwardText(), JavaLocalize.actionSliceforwardDescription()); + super(JavaLocalize.actionSliceForwardText(), JavaLocalize.actionSliceForwardDescription()); } @Nonnull diff --git a/plugin/src/main/java/com/intellij/java/impl/testIntegration/GenerateDataMethodAction.java b/plugin/src/main/java/com/intellij/java/impl/testIntegration/GenerateDataMethodAction.java index 1db752993..e76be656a 100644 --- a/plugin/src/main/java/com/intellij/java/impl/testIntegration/GenerateDataMethodAction.java +++ b/plugin/src/main/java/com/intellij/java/impl/testIntegration/GenerateDataMethodAction.java @@ -24,7 +24,7 @@ @ActionImpl(id = "GenerateDataMethod") public class GenerateDataMethodAction extends BaseGenerateTestSupportMethodAction { public GenerateDataMethodAction() { - super(TestIntegrationUtils.MethodKind.DATA, JavaLocalize.actionGeneratedatamethodText()); + super(TestIntegrationUtils.MethodKind.DATA, JavaLocalize.actionGenerateDataMethodText()); } @Override diff --git a/plugin/src/main/java/com/intellij/java/impl/testIntegration/GenerateSetUpMethodAction.java b/plugin/src/main/java/com/intellij/java/impl/testIntegration/GenerateSetUpMethodAction.java index 63942cc8f..94f8004d7 100644 --- a/plugin/src/main/java/com/intellij/java/impl/testIntegration/GenerateSetUpMethodAction.java +++ b/plugin/src/main/java/com/intellij/java/impl/testIntegration/GenerateSetUpMethodAction.java @@ -23,7 +23,7 @@ @ActionImpl(id = "GenerateSetUpMethod") public class GenerateSetUpMethodAction extends BaseGenerateTestSupportMethodAction { public GenerateSetUpMethodAction() { - super(TestIntegrationUtils.MethodKind.SET_UP, JavaLocalize.actionGeneratesetupmethodText()); + super(TestIntegrationUtils.MethodKind.SET_UP, JavaLocalize.actionGenerateSetUpMethodText()); } @Override diff --git a/plugin/src/main/java/com/intellij/java/impl/testIntegration/GenerateTearDownMethodAction.java b/plugin/src/main/java/com/intellij/java/impl/testIntegration/GenerateTearDownMethodAction.java index c626ec003..0712aceb0 100644 --- a/plugin/src/main/java/com/intellij/java/impl/testIntegration/GenerateTearDownMethodAction.java +++ b/plugin/src/main/java/com/intellij/java/impl/testIntegration/GenerateTearDownMethodAction.java @@ -23,7 +23,7 @@ @ActionImpl(id = "GenerateTearDownMethod") public class GenerateTearDownMethodAction extends BaseGenerateTestSupportMethodAction { public GenerateTearDownMethodAction() { - super(TestIntegrationUtils.MethodKind.TEAR_DOWN, JavaLocalize.actionGenerateteardownmethodText()); + super(TestIntegrationUtils.MethodKind.TEAR_DOWN, JavaLocalize.actionGenerateTearDownMethodText()); } @Override diff --git a/plugin/src/main/java/com/intellij/java/impl/testIntegration/GenerateTestMethodAction.java b/plugin/src/main/java/com/intellij/java/impl/testIntegration/GenerateTestMethodAction.java index aadc42cf5..95a306d34 100644 --- a/plugin/src/main/java/com/intellij/java/impl/testIntegration/GenerateTestMethodAction.java +++ b/plugin/src/main/java/com/intellij/java/impl/testIntegration/GenerateTestMethodAction.java @@ -21,6 +21,6 @@ @ActionImpl(id = "GenerateTestMethod") public class GenerateTestMethodAction extends BaseGenerateTestSupportMethodAction { public GenerateTestMethodAction() { - super(TestIntegrationUtils.MethodKind.TEST, JavaLocalize.actionGeneratetestmethodText()); + super(TestIntegrationUtils.MethodKind.TEST, JavaLocalize.actionGenerateTestMethodText()); } } diff --git a/plugin/src/main/resources/LOCALIZE-LIB/en_US/consulo.java.JavaLocalize.yaml b/plugin/src/main/resources/LOCALIZE-LIB/en_US/consulo.java.JavaLocalize.yaml index c8cf29ffc..bf9d744ff 100644 --- a/plugin/src/main/resources/LOCALIZE-LIB/en_US/consulo.java.JavaLocalize.yaml +++ b/plugin/src/main/resources/LOCALIZE-LIB/en_US/consulo.java.JavaLocalize.yaml @@ -10,41 +10,37 @@ action.encapsulate.fields.description: text: Replace direct access to fields in the selected class with use of accessor methods action.encapsulate.fields.text: text: _Encapsulate Fields... -action.ExportThreads.description: - text: Save all threads information to a text file or clipboard -action.ExportThreads.text: - text: Export T_hreads... -action.GenerateConstructor.text: +action.generate.constructor.text: text: Constructor -action.GenerateCreateUI.text: +action.generate.create.u.i.text: text: createUI(...) -action.GenerateDataMethod.text: +action.generate.data.method.text: text: Parameters Method -action.GenerateEquals.text: +action.generate.equals.text: text: equals() and hashCode() -action.GenerateGetter.text: +action.generate.getter.text: text: Getter -action.GenerateGetterAndSetter.text: +action.generate.getter.and.setter.text: text: Getter and Setter -action.GenerateJavadoc.description: +action.generate.javadoc.description: text: Run the JavaDoc tool -action.GenerateJavadoc.text: +action.generate.javadoc.text: text: Generate Java_Doc... -action.GenerateSetUpMethod.text: +action.generate.set.up.method.text: text: SetUp Method -action.GenerateSetter.text: +action.generate.setter.text: text: Setter -action.GenerateTearDownMethod.text: +action.generate.tear.down.method.text: text: TearDown Method -action.GenerateTestMethod.text: +action.generate.test.method.text: text: Test Method -action.Generify.description: +action.generify.description: text: Convert your code to use generic types -action.Generify.text: +action.generify.text: text: Ge_nerify... -action.InferNullity.description: +action.infer.nullity.description: text: Infer nullity -action.InferNullity.text: +action.infer.nullity.text: text: Infer _Nullity... action.inheritance.to.delegation.description: text: Replace inheritance with delegation @@ -54,17 +50,17 @@ action.introduce.parameter.object.description: text: Replaces method parameters list with object action.introduce.parameter.object.text: text: Introduce Parameter Ob_ject... -action.InvertBoolean.description: +action.invert.boolean.description: text: Makes the method return or variable contain the opposite value and corrects the references -action.InvertBoolean.text: +action.invert.boolean.text: text: Invert _Boolean... -action.JavaNewClass.description: +action.new.class.description: text: Create new Java class -action.JavaNewClass.text: +action.new.class.text: text: Java Class -action.MakeStatic.description: +action.make.static.description: text: Convert method or inner class to static and correct all references -action.MakeStatic.text: +action.make.static.text: text: Make S_tatic... action.method.duplicates.description: text: Finds code in selected scope that can be transformed into a call of selected method/constant @@ -94,28 +90,18 @@ action.replace.temp.with.query.description: text: Turn the selected variable into a method action.replace.temp.with.query.text: text: Replace Temp with _Query... -action.ShowPackageCycles.description: - text: Browse code chosen analysis item used in cycles -action.ShowPackageCycles.text: - text: Analyze _Cyclic Dependencies... -action.SliceBackward.description: +action.slice.backward.description: text: Search for values which can be assigned to selected expression -action.SliceBackward.text: +action.slice.backward.text: text: Analyze Data Flow _to Here -action.SliceForward.description: +action.slice.forward.description: text: Search for values escaped from this location -action.SliceForward.text: +action.slice.forward.text: text: Analyze Data Flow _from Here -action.SliceSliceForward.description: - text: Search for values escaped from this location action.turn.refs.to.super.description: text: Change usages of a class to those of its superclass or interface action.turn.refs.to.super.text: text: Use Interface _Where Possible... -action.Unscramble.description: - text: Open console with the navigatable stacktrace -action.Unscramble.text: - text: Analyze _Stacktrace... action.wrap.return.value.description: text: Wrap return value of the specified method with object action.wrap.return.value.text: