code: @SuppressWarnings("unused")
  	protected LightweightTypeReference getReturnTypeOfOverriddenOperation(JvmOperation operation, ResolvedTypes resolvedTypes, IFeatureScopeSession session) {
  		if (operation.getVisibility() == JvmVisibility.PRIVATE)
  			return null;
  		if (InferredTypeIndicator.isInferred(operation.getReturnType())) {
  			LightweightTypeReference declaringType = resolvedTypes.getActualType(operation.getDeclaringType());
  			if (declaringType == null) {
  				throw new IllegalStateException("Cannot determine declaring type of operation: " + operation);
  			}
  			LightweightTypeReference result = overrideHelper.getReturnTypeOfOverriddenOperation(operation, declaringType);
  			return result;
  		}
  		return null;
  	}
docs: /* @Nullable