List<KnownDecorator> (@NotNull PyDecoratable element, @NotNull TypeEvalContext context) { final PyDecoratorList decoratorList = element.getDecoratorList(); if (decoratorList == null) { return Collections.emptyList(); } return StreamEx.of(decoratorList.getDecorators()) .flatMap(decorator -> asKnownDecorators(decorator, context).stream()) .toImmutableList(); }