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