mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-16 22:51:17 +07:00
[java, import-module] Refactor import statement hierarchy IDEA-353091
IJ-CR-139321 GitOrigin-RevId: f5a2188b18afad7cb2912d3ff282ef9929f20ca6
This commit is contained in:
committed by
intellij-monorepo-bot
parent
0fb89ef48e
commit
0a0e345835
@@ -1,4 +1,4 @@
|
||||
// Copyright 2000-2023 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
|
||||
// Copyright 2000-2024 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
|
||||
package com.intellij.codeInsight.editorActions.smartEnter;
|
||||
|
||||
import com.intellij.lang.ASTNode;
|
||||
@@ -88,7 +88,8 @@ public class AfterSemicolonEnterProcessor implements ASTNodeEnterProcessor {
|
||||
ASTNode node = BasicJavaAstTreeUtil.toNode(psiElement);
|
||||
return
|
||||
BasicJavaAstTreeUtil.is(node, BASIC_IMPORT_STATEMENT) ||
|
||||
BasicJavaAstTreeUtil.is(node, BASIC_IMPORT_STATIC_STATEMENT);
|
||||
BasicJavaAstTreeUtil.is(node, BASIC_IMPORT_STATIC_STATEMENT) ||
|
||||
BasicJavaAstTreeUtil.is(node, BASIC_IMPORT_MODULE_STATEMENT);
|
||||
}
|
||||
|
||||
private static int getErrorElementOffset(PsiElement elt) {
|
||||
|
||||
Reference in New Issue
Block a user