public void processReferences(ClassReferenceVisitor visitor) {
    if(myReferences == null) {
      myReferences = findReferences();
    }

    for (PsiReference reference : myReferences) {
      processUsage(reference.getElement(), visitor);
    }
  }
public void processReferences(ClassReferenceVisitor visitor)