Annotations used in Salesforce
Annotations: Apex supports the following annotations: @Deprecated @Future @IsTest @ReadOnly @RemoteAction Apex REST annotations: @RestResource @HttpDelete @HttpGet @HttpPatch @HttpPost @HttpPut @Deprecated: Use the deprecated annotation to identify methods, classes, exceptions, enums, interfaces, or variables that can no longer be referenced in subsequent releases of the managed package in which they reside. This is useful when you are refactoring code in managed packages as the requirements evolve. New subscribers cannot see the deprecated elements, while the elements continue to function for existing subscribers and API integrations. Note the following rules when deprecating Apex identifiers: Unmanaged packages cannot contain code that uses the deprecated keyword. When an Apex item is deprecated, all global access modifiers that reference the depr...