@Override
  public PsiType getInferredReturnType() {
    if (isConstructor()) {
      return null;
    }
    return TypeInferenceHelper.inTopContext(() -> CachedValuesManager.getProjectPsiDependentCache(this, ourTypesCalculator));
  }
@Override
  public PsiType getInferredReturnType()