Represents the saved copy of an Apex class. ApexClass uses the cached
version of the class unless one is unavailable. Available from API version 28.0 or
later.
Supported SOAP API Calls
create(), delete(), describeSObjects(), query(), retrieve(), update(), upsert()
Supported REST API HTTP
Methods
Query, GET, POST, PATCH, DELETE
Fields
| ManageableState |
- Type
- ManageableState enumerated list
- Properties
- Filter, Group, Nillable, Restricted picklist, Sort
- Description
- Indicates the manageable state of the specified component that is contained
in a package:
- beta
- deleted
- deprecated
- installed
- released
- unmanaged
For more information about states of manageability for components in
Force.com
AppExchange
packages, see “Planning the Release of Managed Packages” in the Salesforce online
help.
This field is available in API version 38.0 and later.
|
| SymbolTable |
- Type
- SymbolTable
- Properties
- Nillable
- Description
- A complex type that represents all user-defined tokens in the
Body
of an ApexClass, ApexClassMember, or ApexTriggerMember and their associated line and
column locations within the Body.
This field is null if the symbol table cannot be
created.
|
Usage
To retrieve information about an Apex class, create an ApexClass object that references it.
For example code, see SOAP Calls.
To edit, save, or compile Apex classes, use ApexClassMember.
If there is not a cached version of SymbolTable, it will be compiled in the background and the query might take longer than expected.
The SymbolTable returned from ApexClass does not contain references; to retrieve a SymbolTable
with references, use ApexClassMember.