Activity Forums Salesforce® Discussions What are the annotations in the Apex in Salesforce?

  • Anjali

    Member
    August 31, 2020 at 12:28 pm

    An Apex annotation modifies the way a method or class is used, similar to annotations in Java.

    • @Deprecated.
    • @Future.
    • @Is Test.
    • @ReadOnly.
    • @RemoteAction.
  • Deepak

    Member
    August 31, 2020 at 1:23 pm

    We have the following Apex notations in Salesforce:
    @AuraEnabled
    @Deprecated
    @Future
    @InvocableMethod
    @InvocableVariable
    @IsTest
    @JsonAccess
    @NamespaceAccessible
    @ReadOnly
    @RemoteAction
    @SuppressWarnings
    @TestSetup
    @TestVisible

Log In to reply.

Popular Salesforce Blogs

Popular Salesforce Videos