May 2019
Intermediate to advanced
546 pages
12h 41m
English
Like Java, you have the possibility to add a kind of syntactic metadata, called an annotation. These annotations can be used in classes, methods, and properties.
For instance, if you don't need a method anymore in a new version of your class, you can give this method the @deprecated annotation to warn another developer that this method was used in a previous version of the software, but the method is not used anymore.
The following list is an overview of the annotations used in Apex. If you are familiar with Java, you will recognize some of them. Other annotations are unique to Apex and Salesforce:
Read now
Unlock full access