View Apex Classes

After you have created a class, you can view the code contained in the class, as well as the API against which the class was saved, and whether the class is valid or active.

Required Editions

Available in: Salesforce Classic (not available in all orgs) and Lightning Experience
Available in: Enterprise, Performance, Unlimited, Developer, and Database.com Editions
User Permissions Needed
To define, edit, delete, set security, and set version settings for Apex classes: Author Apex
To run Apex tests: View Setup and Configuration
  1. From Setup, enter Apex Classes in the Quick Find box, then select Apex Classes
  2. Click the name of the class you want to view.

The Class Summary tab displays the prototype of the class; that is, the classes, methods and variables that are available to other Apex code. The Class Summary tab lists the access level and signature for each method and variable in an Apex class, as well as any inner classes. If there is no prototype available, this tab is not available.

If an Apex class references components in installed managed packages, such as another class, trigger, or custom object, the Version Settings tab lists the package versions of the packages containing the referenced components.

The Log Filters tab displays the debug log categories and debug log levels that you can set for the class.