Activity Forums Salesforce® Discussions When do we use @Depricated Annotation in Apex?

  • Kirandeep

    Member
    August 17, 2020 at 2:35 pm

    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.

  • Pooja

    Member
    August 17, 2020 at 6:24 pm

    This is useful when you are refactoring code in managed packages as the requirements evolve.

  • Ratnesh

    Member
    August 18, 2020 at 6:07 am

    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.

Log In to reply.

Popular Salesforce Blogs

Popular Salesforce Videos