Jing Ge created FLINK-26186: ------------------------------- Summary: update the API_ANNOTATIONS rule Key: FLINK-26186 URL: https://issues.apache.org/jira/browse/FLINK-26186 Project: Flink Issue Type: Improvement Reporter: Jing Ge Assignee: Jing Ge
It seems that the excluding shaded classes filter does not work in this case since the check is against a valid class whose return type is a shaded external class which somehow was not handled by the filter. Since there is no way to add Flink API annotation to the 3rd party classes, the rule should be updated. the main ideas is to extend the rule allow external classes without Flink API annotation, like: .or( {_}resideInAnyPackage{_}( "org.apache.flink.(*)..shaded.(**)")) -- This message was sent by Atlassian Jira (v8.20.1#820001)