Eine aufbereitete Darstellung der Quelle

 
     
 
 
 
Anforderungen  |   Konzepte  |   Entwurf  |   Entwicklung  |   Qualitätssicherung  |   Lebenszyklus  |   Steuerung


Quelle  Eclipse_API_Central_Deprecation_Policy.md  Sprache: unbekannt

 
Spracherkennung für: .md vermutete Sprache: Abap {ABAP[132] SQL[126] VDM[126]} [Methode: maximale Elemente, drei Dimensionen]

Eclipse/API Central/Deprecation Policy
======================================

This page contains Eclipse Project guidelines on API deprecation. 
This page is maintained by the [Eclipse/PMC](https://eclipse.dev/eclipse/team-leaders.php).

Contents
--------

*   [1 What is Deprecation?](#What-is-Deprecation.3F)
    *   [1.1 Process to deprecate an API](#Process-to-deprecate-an-API)
*   [2 Identifying Deprecated API](#Identifying-Deprecated-API)
    *   [2.1 Java API](#Java-API)
    *   [2.2 Extension Points](#Extension-Points)
*   [3 Removal of Deprecated API](#Removal-of-Deprecated-API)
    *   [3.1 Third Party API](#Third-Party-API)


What is Deprecation?
====================

API deprecation is used to inform API clients that a particular API element is no longer recommended for use. 
The deprecation comment should describe the reason for the deprecation, and directions for how to replace their usage with the new recommended way of doing things.
Deprecation does not necessary implies that the API will be deleted in a future release unless it is explicitely marked for deletion.

Process to deprecate an API
---------------------------

*   Created a pull request to deprecated the API and get a review from the project lead

Identifying Deprecated API
==========================

This section describes how clients can identify what API is deprecated. 
To identify API from non-API, see [Provisional API Guidelines](https://github.com/eclipse-platform/eclipse.platform/blob/master/docs/Provisional_API_Guidelines.md)

Java API
--------

Java API is deprecated through use of the @Deprecate annotation.

If it is planned to be removed in the future set the forRemoval = true property.
In this case, the since tag should include the release in which is was marked for deletion.

 @Deprecated(forRemoval = true, since="2024-12")


Older code used @deprecated javadoc tag on types, methods, and fields. 
The javadoc paragraph following the @deprecated tag defines the rationale for the deprecation and instructions on moving to equivalent new API.

Extension Points
----------------

Elements and attributes in extension points are deprecated by setting the "Deprecated" property to true in the PDE extension point schema editor. 
The entire extension point can be deprecated by deprecating the "extension" element, which is the top level element at the root of any contribution to the extension point.

![Schema-deprecation.png](https://raw.githubusercontent.com/eclipse-platform/eclipse.platform/master/docs/images/Schema-deprecation.png)

Removal of Deprecated API
=========================

See [https://github.com/eclipse-platform/.github/wiki/PMC-project-guidelines#api-removal-process](https://github.com/eclipse-platform/.github/wiki/PMC-project-guidelines#api-removal-process) for the process for deleting deprecated API.

Third Party API
---------------

The Eclipse Project consumes and delivers bundles that are produced by other projects (including Orbit, ECF, and Equinox). The Eclipse Project sometimes consumes new major versions of these bundles, which may include API removals or other breaking changes in those bundles. As long as those changes don't affect the API of Eclipse Project bundles, such changes to third party bundles can happen at any time and without a two year waiting period. If those changes affect the API of Eclipse Project bundles, for example they are re-exported by Eclipse Project bundles or extended by Eclipse Project API, then this deprecation policy will be in effect. That is, the intent to remove API will be announced and will the API will remain in place for two full years prior to a release containing the deletion.

[Dauer der Verarbeitung: 0.16 Sekunden, vorverarbeitet 2026-11-19]

                                                                                                                                                                                                                                                                                                                                                                                                     

 

Neuigkeiten

Aktuelles
Motto des Tages

Open Source Software


Gedichte
Musik
Bilder

Jenseits des Üblichen

Besucherstatistik

Besucherstatistik

Statistik
#Sources=1,188,334
#Domains=920,166