Added 'origin' parameter to TypeEvalContext.userInitiated()

This commit is contained in:
Andrey Vlasovskikh
2013-05-13 17:02:34 +04:00
parent 17abf2d666
commit fce1b98e7c
15 changed files with 38 additions and 37 deletions
@@ -58,8 +58,8 @@ public class TypeEvalContext {
*
* Should be used for code completion, go to definition, find usages, refactorings, documentation.
*/
public static TypeEvalContext userInitiated() {
return new TypeEvalContext(true, true, null);
public static TypeEvalContext userInitiated(@Nullable PsiFile origin) {
return new TypeEvalContext(true, true, origin);
}
/**