org.geotoolkit.lang
Annotation Type Workaround


@Target(value={TYPE,CONSTRUCTOR,METHOD,FIELD,LOCAL_VARIABLE})
@Retention(value=SOURCE)
public @interface Workaround

Annotates classes, methods or code which exist only as a workaround for a bug or limitation in a library. This annotation is used as a marker for source code only, in order to remind us which part of the code to revisit when new versions of the libraries are available.

Note: When only a portion of a method contains a workaround and the annotation can not be applied to that specific part, than it is applied to the whole method. Developers need to refer to code comments in order to locate the specific part.

Since:
3.15
Version:
3.15
Author:
Martin Desruisseaux (Geomatys)
Module:
utility/geotk-utility (download)    View source code for this class

Required Element Summary
 String library
          A string identifying the library.
 String version
          The last library version on which the bug has been verified.
 

Element Detail

library

public abstract String library
A string identifying the library. Typical values are "JDK", "JAI", "NetCDF", "Units", "Swingx" and "Geotk".

Returns:
An identifier of the library.

version

public abstract String version
The last library version on which the bug has been verified. The bug may have existed before, and may still exist later.

Returns:
The library version on which the bug has been observed.


Copyright © 2009-2013 Geotoolkit.org. All Rights Reserved.