I've been looking through the javadoc documentation on Sun's site, trying to find if there's a javadoc tag which can be used to document a class or method's generic type signature.
Something like @typeparam
, similar to the usual @param
, but applicable to types as well as methods,e.g.
/**
* @typeparam T This describes my type parameter
*/
class MyClass<T> {
}
I suspect there is no such tag - I can find no mention of it anywhere, and the JavaSE API docs don't show any sign of it, but it seems like an odd omission. Can someone put me right?