1) When completion, getVariants() is called on an newley created element
with name-element "IntellijIdeaRulezzz".
If seen this before. IDEA simply inserts this text with a trailing
space at cursor position and then passes it through the parser
(which will almost ever report parsing errors).
In my case `getModel()` is passed as `IntellijIdeaRulezzz getModel()`,
so the parser obviously fails. Also, the element being used to get the
reference is now an different type (method acces --> field access).
So how should I find the correct variants? Besides this "element change"
element.getContainingFile().getVirtualFile() also returns null!
Any comments on proper dealing with those problems?
Why isn't the getVariants() called on the element directly?
2) Where can I start searching the error(s) if getVariants() is called
and returns an non-empty array, but the related popup tells
3) How can I order the getVariants() output (other than alphabetically)?