---
schema_version: "1"
id: 68dad622ee96a64c4f71977a412774ab1802dbf7b1b89ae138bdac83feda4ad8
title: Managed Apex Considerations for Package Subscribers
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/apexcode/apex_manpkgs_subscriber_considerations.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.apexcode.meta/apexcode/apex_manpkgs_subscriber_considerations.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: 1369e0e99fba4d0d530e2fb2718949fc082a09e92f1e11b75d6ad619a451d909
description: As you use managed Apex, keep these considerations in mind.
---
# Managed Apex Considerations for Package Subscribers

As you use managed Apex, keep these considerations in mind.

- If a package developer deprecates a global Apex identifier in a managed package, you can only reference that identifier if you specify a package version between the creation and the deprecation of the identifier. Identifiers include global Apex methods, classes, exceptions, enums, interfaces, properties, and class variables. This behavior applies to both static and dynamic references, such as identifiers accessed with the [Type.forName()](https://developer.salesforce.com/docs/atlas.en-us.264.0.apexref.meta/apexref/apex_methods_system_type.htm#apex_System_Type_forName "HTML (New Window)") method, the [instanceof](https://developer.salesforce.com/docs/atlas.en-us.apexcode.meta/apexcode/apex_classes_keywords_instanceof.htm) keyword, and the [ApexTypeImplementor](https://developer.salesforce.com/docs/atlas.en-us.264.0.object_reference.meta/object_reference/sforce_api_objects_apextypeimplementor.htm "HTML (New Window)") object.
- Similarly, if a package developer deletes a schema from a managed package, you can only reference the schema in Apex if you specify a package version before the deletion of the schema. This behavior applies to both static and dynamic references, such as objects and fields accessed with [Schema.describe()](https://developer.salesforce.com/docs/atlas.en-us.264.0.apexref.meta/apexref/apex_methods_system_schema.htm#apex_System_Schema_methods "HTML (New Window)") methods.