annotations

This commit is contained in:
Dmitry Jemerov
2012-08-15 13:42:42 +02:00
parent 3c6c502520
commit 9b9d11b4b0
2 changed files with 4 additions and 2 deletions
@@ -3,6 +3,7 @@ package com.jetbrains.python.psi.resolve;
import com.intellij.openapi.extensions.ExtensionPointName;
import com.intellij.psi.PsiElement;
import com.jetbrains.python.psi.impl.PyQualifiedName;
import org.jetbrains.annotations.NotNull;
import org.jetbrains.annotations.Nullable;
/**
@@ -21,5 +22,5 @@ public interface PyCanonicalPathProvider {
* @return the qualified name to use in the import statement, or null if no replacement is necessary.
*/
@Nullable
PyQualifiedName getCanonicalPath(PyQualifiedName qName, PsiElement foothold);
PyQualifiedName getCanonicalPath(@NotNull PyQualifiedName qName, @Nullable PsiElement foothold);
}