xref: /aosp_15_r20/external/doclava/android-changes.txt (revision feeed43c7c55e85932c547a3cefc559df175227c)
1*feeed43cSAndroid Build Coastguard WorkerChanges in this version relative to http://doclava.googlecode.com/
2*feeed43cSAndroid Build Coastguard Worker------------------------------------------------------------------
3*feeed43cSAndroid Build Coastguard Worker
4*feeed43cSAndroid Build Coastguard Worker* Added a new command line option -showAnnotation <@interface classname>,
5*feeed43cSAndroid Build Coastguard Worker  which takes in a fully qualified annotation classname.  The specified
6*feeed43cSAndroid Build Coastguard Worker  annotation will override any @hide annotations within the javadoc.  To
7*feeed43cSAndroid Build Coastguard Worker  specify multiple annotations to override @hide, use multiple
8*feeed43cSAndroid Build Coastguard Worker  -showAnnotation options.
9*feeed43cSAndroid Build Coastguard Worker
10*feeed43cSAndroid Build Coastguard Worker* Modified the Java stub generator code to write out annotations for
11*feeed43cSAndroid Build Coastguard Worker  methods and fields as well, not just classes. This meant adding a
12*feeed43cSAndroid Build Coastguard Worker  writeAnnotations call to writeMethod and to writeField
13*feeed43cSAndroid Build Coastguard Worker
14*feeed43cSAndroid Build Coastguard Worker* Modified the writeAnnotations method to take a "isDeprecated"
15*feeed43cSAndroid Build Coastguard Worker  parameter, which when set adds a @Deprecated annotation if one
16*feeed43cSAndroid Build Coastguard Worker  doesn't already exist. This ensures that APIs only marked with a
17*feeed43cSAndroid Build Coastguard Worker  @deprecated documentation comment will also be marked as
18*feeed43cSAndroid Build Coastguard Worker  @Deprecated. Also strips out @Override annotations.
19