code: private Iterable<Issue> getDirectErrorsOrLogicallyContainedErrors(final JvmFeature feature) {
      Iterable<Issue> errors = this._errorSafeExtensions.getErrors(feature);
      boolean _isEmpty = IterableExtensions.isEmpty(errors);
      if (_isEmpty) {
        final XExpression expression = this._iLogicalContainerProvider.getAssociatedExpression(feature);
        if ((expression != null)) {
          errors = this._errorSafeExtensions.getErrors(expression);
        }
      }
      return errors;
    }
docs: Returns the errors that are produced for elements that are directly contained
  in this feature (e.g. unresolved type proxies) or that are associated with
  the expression that may be logically contained in the given feature.