@Override
  synchronized void addOutTypeReference(RefClass refClass) {
    if (myOutTypeReferences == null) {
      myOutTypeReferences = new HashSet<>();
    }
    myOutTypeReferences.add(refClass);
  }
@Override
  synchronized void addOutTypeReference(RefClass refClass)