diff --git a/java/java-psi-api/src/com/intellij/psi/PsiImportModuleStatement.java b/java/java-psi-api/src/com/intellij/psi/PsiImportModuleStatement.java index 69cd473de815..1e12e727f7b4 100644 --- a/java/java-psi-api/src/com/intellij/psi/PsiImportModuleStatement.java +++ b/java/java-psi-api/src/com/intellij/psi/PsiImportModuleStatement.java @@ -1,4 +1,4 @@ -// Copyright 2000-2024 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license. +// Copyright 2000-2026 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license. package com.intellij.psi; import org.jetbrains.annotations.ApiStatus; @@ -25,9 +25,9 @@ public interface PsiImportModuleStatement extends PsiImportStatementBase { PsiJavaModule resolveTargetModule(); /** - * Returns the name of the member imported from the statement. + * Returns the name of the module imported by the statement. * - * @return the name of the member. + * @return the name of the module. */ @Nullable String getReferenceName(); diff --git a/java/java-psi-api/src/com/intellij/psi/PsiImportStatementBase.java b/java/java-psi-api/src/com/intellij/psi/PsiImportStatementBase.java index a1ee6eaddafe..d48e7f34b515 100644 --- a/java/java-psi-api/src/com/intellij/psi/PsiImportStatementBase.java +++ b/java/java-psi-api/src/com/intellij/psi/PsiImportStatementBase.java @@ -5,7 +5,7 @@ import com.intellij.util.ArrayFactory; import org.jetbrains.annotations.Nullable; /** - * Represents a Java {@code import} or {@code import static} statement. + * Represents a Java {@code import}, {@code import static} or {@code import module} statement. */ public interface PsiImportStatementBase extends PsiElement { /**