'. '

Code Annotation Transformations

From APIDesign

(Difference between revisions)
Jump to: navigation, search
Current revision (08:04, 22 March 2009) (edit) (undo)
 
Line 3: Line 3:
We have observed that using '''@Deprecated''' annotation is good hint to help your [[API]] users recognize that some part of your [[API]] is obsolete and shall no longer be used, however that in no way helps users of your [[API]] with converting their code to new, non-deprecated style.
We have observed that using '''@Deprecated''' annotation is good hint to help your [[API]] users recognize that some part of your [[API]] is obsolete and shall no longer be used, however that in no way helps users of your [[API]] with converting their code to new, non-deprecated style.
-
With the use of [[Code Annotations Transformation]] this can be much simplified! When [[API]] writers adopt these annotations and use them in your API, they can specify suggested refactorings that are supposed to happen when someone is using a '''@Deprecated''' [[API]] element. Then any IDE can pick recognize these annotations and offer automated upgrade of the sources using the [[API]] in an old-fashioned way.
+
With the use of [[Code Annotation Transformations]] this can be much simplified! When [[API]] writers adopt these annotations and use them in your API, they can specify suggested refactorings that are supposed to happen when someone is using a '''@Deprecated''' [[API]] element. Then any IDE can pick recognize these annotations and offer automated upgrade of the sources using the [[API]] in an old-fashioned way.

Current revision

This is a software project that can improve communication between API designers and API users.

We have observed that using @Deprecated annotation is good hint to help your API users recognize that some part of your API is obsolete and shall no longer be used, however that in no way helps users of your API with converting their code to new, non-deprecated style.

With the use of Code Annotation Transformations this can be much simplified! When API writers adopt these annotations and use them in your API, they can specify suggested refactorings that are supposed to happen when someone is using a @Deprecated API element. Then any IDE can pick recognize these annotations and offer automated upgrade of the sources using the API in an old-fashioned way.


Read more...

Personal tools
buy