RncDefine () { final PsiReference ref = getReference(); // TODO: honor combine & return virtual element if multiResolve().length > 0 return ref instanceof PatternReference ? (RncDefine)ref.resolve() : null; }