diff --git a/java/java-impl/src/com/intellij/codeInsight/editorActions/wordSelection/MethodOrClassSelectioner.java b/java/java-impl/src/com/intellij/codeInsight/editorActions/wordSelection/MethodOrClassSelectioner.java index bc8f8951217b..d727b850ff20 100644 --- a/java/java-impl/src/com/intellij/codeInsight/editorActions/wordSelection/MethodOrClassSelectioner.java +++ b/java/java-impl/src/com/intellij/codeInsight/editorActions/wordSelection/MethodOrClassSelectioner.java @@ -100,16 +100,4 @@ public class MethodOrClassSelectioner extends BasicSelectioner { } return Collections.emptyList(); } - - private static Collection selectWithoutDocComment(@NotNull PsiElement[] children, - @NotNull CharSequence editorText) { - int start = CodeBlockOrInitializerSelectioner.findOpeningBrace(children); - // in non-Java PsiClasses, there can be no opening brace - if (start != 0) { - int end = CodeBlockOrInitializerSelectioner.findClosingBrace(children, start); - - return expandToWholeLine(editorText, new TextRange(start, end)); - } - return Collections.emptyList(); - } }