Tor Norbye | 7393488 | 2012-02-29 07:50:52 -0800 | [diff] [blame] | 1 | Changes in this version relative to http://doclava.googlecode.com/ |
| 2 | ------------------------------------------------------------------ |
| 3 | |
Maurice Chu | eb9343e | 2012-11-06 11:30:22 -0800 | [diff] [blame] | 4 | * Added a new command line option -showAnnotation <@interface classname>, |
| 5 | which takes in a fully qualified annotation classname. The specified |
| 6 | annotation will override any @hide annotations within the javadoc. To |
| 7 | specify multiple annotations to override @hide, use multiple |
| 8 | -showAnnotation options. |
| 9 | |
Tor Norbye | 7393488 | 2012-02-29 07:50:52 -0800 | [diff] [blame] | 10 | * Modified the Java stub generator code to write out annotations for |
| 11 | methods and fields as well, not just classes. This meant adding a |
| 12 | writeAnnotations call to writeMethod and to writeField |
| 13 | |
| 14 | * Modified the writeAnnotations method to take a "isDeprecated" |
| 15 | parameter, which when set adds a @Deprecated annotation if one |
| 16 | doesn't already exist. This ensures that APIs only marked with a |
| 17 | @deprecated documentation comment will also be marked as |
| 18 | @Deprecated. Also strips out @Override annotations. |