Note: This release is in preview. Features described here don’t become generally available until the latest general availability date that Salesforce announces for this release. Before then, and where features are noted as beta, pilot, or developer preview, we can’t guarantee general availability within any particular time frame or at all. Make your purchase decisions only on the basis of generally available products and features.
SymbolTable
Fields
| Field | Details |
|---|---|
| constructors |
|
| externalReferences |
|
| innerClasses |
|
| interfaces |
|
| methods |
|
| name |
|
| namespace |
|
| parentClass |
|
| properties |
|
| tableDeclaration |
|
| variables |
|
Annotations
- Deprecated
- Future
- HttpDelete
- HttpGet
- HttpPatch
- HttpPost
- HttpPut
- InvocableMethod
- InvocableVariable
- IsTest
- ReadOnly
- RemoteAction
- TestSetup
- TestVisible
- RestResource
Modifiers
Modifiers can include more values than those values explicitly specified in classes and methods. All relevant modifiers, including implicit ones, are now returned. For example, all webservice methods have an implicit global modifier. Also, because fields and methods are private unless otherwise specified, the private modifier is returned by default.
The testMethod modifier is returned when either the testMethod modifier or the IsTest annotation is used.
- abstract
- final
- global
- inherited sharing
- override
- private
- protected
- public
- static
- testMethod
- transient
- virtual
- webService
- with sharing
- without sharing
Usage
Use symbol tables instead of building a parser or compiler. Symbol tables allow you to do symbol highlighting, code navigation, code completion, symbol searches, and more.
A symbol table can’t be created if the content referenced by the ContentEntityId field doesn’t use a symbol table. Compiler errors for the last deployment of the MetadataContainer in the MetadataContainerId field also prevent a symbol table from being created.