---
schema_version: "1"
id: f2f4fe446631a7580e0b9e319add22806773883045328ef10b5b9cbf24381ca3
title: View Apex Classes
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/platform/264-0-0/code_view_class.md
canonical_url: https://help.salesforce.com/s/articleView?id=platform.code_view_class.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: 033b47c36887adf6c5ce0d461c132acb45a90d539e9f0028b94c01893799db4b
description: 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.
products:
  - Salesforce Platform
release: "264"
---
# 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

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small edition"><colgroup><col></colgroup><tbody><tr class=""><td class="slds-cell-wrap" style="vertical-align:top;">Available in: Salesforce Classic (<a href="https://help.salesforce.com/s/articleView?id=xcloud.overview_edition_lex_only.htm&amp;type=5&amp;language=en_US" target="_blank">not available in all orgs</a>) and Lightning Experience</td></tr><tr class=""><td class="slds-cell-wrap" style="vertical-align:top;">Available in: <span id="code_view_class__Apex_Code_editions_text"><a name="code_view_class__Apex_Code_editions_text"></a><strong>Enterprise</strong>, <strong>Performance</strong>, <strong>Unlimited</strong>, <strong>Developer</strong>, and <strong>Database.com</strong> Editions</span></td></tr></tbody></table>

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small permission">
        <colgroup>
          <col style="width:74%">
          <col style="width:26%">
        </colgroup>
        <thead class="slds-text-title_caps ">
          <tr class="">
            <th scope="colgroup" class="slds-cell-wrap" colspan="2" style="text-align:center;vertical-align:top;" id="d6380e80">User Permissions Needed</th>
          </tr>
        </thead>
        <tbody>
          <tr class="">
            <td data-label="User Permissions Needed" class="slds-cell-wrap" style="vertical-align:top;" headers="d6380e80 ">
              <span id="code_view_class__class_perm_text"><a name="code_view_class__class_perm_text"><!-- --></a>To define, edit, delete, set security, and set version
                settings for Apex classes:</span>
            </td>

            <td class="slds-cell-wrap" style="vertical-align:top;" headers="d6380e80 ">
              <span id="code_view_class__apex_perm_value"><a name="code_view_class__apex_perm_value"><!-- --></a>Author Apex</span>
            </td>

          </tr>
          <tr class="">
            <td data-label="User Permissions Needed" class="slds-cell-wrap" style="vertical-align:top;" headers="d6380e80 ">
              <span id="code_view_class__class__runtest_perm_text"><a name="code_view_class__class__runtest_perm_text"><!-- --></a>To run Apex tests:</span>
            </td>

            <td class="slds-cell-wrap" style="vertical-align:top;" headers="d6380e80 ">
              <span id="code_view_class__apex_runtest_perm_value"><a name="code_view_class__apex_runtest_perm_value"><!-- --></a>View Setup and Configuration</span>
            </td>

          </tr>
        </tbody>
      </table>

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.

#### See Also

- [Define Apex Classes](https://help.salesforce.com/s/articleView?id=platform.code_define_package.htm&release=264.0.0&type=5 "Salesforce stores Apex classes as metadata.")
- [Manage Apex Classes](https://help.salesforce.com/s/articleView?id=platform.code_manage_packages.htm&release=264.0.0&type=5 "An Apex class is a template or blueprint from which Apex objects are created. Classes consist of other classes, user-defined methods, variables, exception types, and static initialization code.")
- [Debug Log Filtering for Apex Classes and Apex Triggers](https://help.salesforce.com/s/articleView?id=platform.code_debug_log_classes.htm&release=264.0.0&type=5 "Debug log filtering provides a mechanism for fine-tuning the log verbosity at the trigger and class level.")