Annotations in Apex

Similar to Java annotations, an Apex annotation changes how a method or class is used. An initial @ symbol is used to define annotations, which are then followed by the relevant keyword.

Just before the method or class definition, include the annotation in the specification.

Check out this handy Apex annotations document.

Join 1,564 other followers