Show
added a comment - With generic javadoc, docletTag.getParameters() [0] could be an unwanted value.
/**
* Dummy method.
*
* @param <K> The Key type for the method
* @param <V> The Value type for the method
* @param name The name.
* @return A map configured.
*/
public <K, V> java.util.Map<K, V> dummyMethod( String name )
{
return null;
}
The output of the test case is:
docletTag.getParameters()=[<, K, >, The, Key, type, for, the, method]
WRONG should be the array: [<K>, The, Key, type, for, the, method]
docletTag.getParameters()=[<, V, >, The, Value, type, for, the, method]
WRONG should be the array: [<V>, The, Value, type, for, the, method]
docletTag.getParameters()=[name, The, name.]
docletTag.getParameters()=[A, map, configured.]
With generic javadoc, docletTag.getParameters()[0] could be an unwanted value.
The output of the test case is: