Forbidden Addition
forbidden_addition
Description
Forbid use of specified additions in specified statements.
Extended Information
Nothing is reported unless additions are configured.
Where forbidden_statement forbids a whole statement, this rule forbids one addition of a statement that is otherwise allowed,
eg. "PARTIALLY IMPLEMENTED" in INTERFACES, "DEFAULT IGNORE" in METHODS or "IN UPDATE TASK" in CALL FUNCTION.
"statement" is the abaplint statement name, the class names in
https://github.com/abaplint/abaplint/tree/main/packages/core/src/abap/2_statements/statements,
compared case insensitive, ignoring spaces, underscores and dashes. "*" matches every statement.
"addition" is matched against the tokens of the statement, not against its text: the words must follow each other as keywords,
whitespace, line breaks and case do not matter, and identifiers, literals and comments never match,
so forbidding "EVENTS" does not report a variable named events.
A statement name that does not exist or an empty addition is a configuration error, it is not ignored.
Each part of a chained statement is checked as a separate statement.