Skip to content

deprecated

The deprecated keyword is a function qualifier keyword used to mark functions as deprecated; compiling the deprecated function-call-statements must cause diagnostic warnings.

Syntax

deprecated void fuBar() { /* method body */ }
deprecated("this is deprecated") void fuBar() { /* method body */ }