mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
Slow TypeEvalContext for completion, documentation, find usages, quick-fixes
This commit is contained in:
@@ -53,6 +53,11 @@ public class TypeEvalContext {
|
||||
return myAllowDataFlow || element.getContainingFile() == myOrigin;
|
||||
}
|
||||
|
||||
/**
|
||||
* The most detailed type evaluation context for user-initiated actions.
|
||||
*
|
||||
* Should be used for code completion, go to definition, find usages, refactorings, documentation.
|
||||
*/
|
||||
public static TypeEvalContext slow() {
|
||||
return new TypeEvalContext(true, true, null);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user