synchronized void addOutTypeReference(RefClass refClass) {
    final RefEntity owner = getOwner();
    if (owner instanceof RefJavaElementImpl) {
      ((RefJavaElementImpl)owner).addOutTypeReference(refClass);
    }
  }
synchronized void addOutTypeReference(RefClass refClass)