public @Nullable Location<PsiElement> getLocation() {
    if (myLocation == null || !myLocation.getPsiElement().isValid()) {
      if (myLocation != null) {
        myConfigurationsFromContext = null;
        myExistingConfiguration = null;
      }
      myLocation = calcLocation(myDataContext, myModule);
    }
    return myLocation;
  }
public @Nullable Location<PsiElement> getLocation()