Say I have a bunch of annotations under the same domain where some properties of them are common.
@Color
@interface Black {
/**
* The density of the color in range 0-255. If a non valid value is given, an
* exception will be thrown.
*
* @return the density of the color
*/
int density();
}
@Color
@interface Red {
//inherit javadoc from Black#density
int density();
}
The comment in @Red
says what I want to do.
Is there something better than @see tag? (@see Black#density()
)
Maybe there is a maven tool (plugin) that can make it happen?