@Override
  @NotNull
  public synchronized Collection<RefClass> getOutTypeReferences() {
    final RefEntity owner = getOwner();
    return owner instanceof RefJavaElement ? ((RefJavaElement)owner).getOutTypeReferences() : Collections.emptySet();
  }
@Override
  @NotNull
  public synchronized Collection<RefClass> getOutTypeReferences()