History log of /frameworks/base/core/java/android/annotation/WorkerThread.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
6503bd8e33dbf6e8357256d43c6e1158e32a0268 20-Apr-2017 Jeff Sharkey <jsharkey@android.com> Auto-generate docs based on annotations.

We have a handful of annotations that we've been sprinkling across
the platform APIs, such as @Nullable, @NonNull, @IntDef, etc. It
would be really helpful to surface these contracts to developers
through the SDK docs.

This change allows annotations like those mentioned above to declare
the following new javadoc fields:

@memberDoc: docs to append to a field or method definition.
@paramDoc: docs to append to a @param definition.
@returnDoc: docs to append to a @return definition.

This change also builds a docstring to describe the list of all
constants listed in an @IntDef annotation. Sadly AnnotationDesc
only passes along raw constant values, so we need the help of the
new "prefix" annotation argument to help find the field names.

Test: builds
Bug: 37526420
Change-Id: I4cfc00dd904e5dfa945b406d546e36846b7c0c28
/frameworks/base/core/java/android/annotation/WorkerThread.java
71fbb81b14958b80fe55738607740c6630e4e9da 30-Nov-2015 Neil Fuller <nfuller@google.com> Fix @code escapes

The body of {@code} must not be HTML escaped. This is one of
several changes that fix the source in conjunction with a
doclava fix.

Bug: 25757239
Change-Id: Ib38a0fa2dd2a3d68e467f78a812071e763d7e881
/frameworks/base/core/java/android/annotation/WorkerThread.java
f8b833605e459265f46cd509beb556cc83d2eeda 11-Mar-2015 Tor Norbye <tnorbye@google.com> Add threading annotations

These describe threading requirements for a given method,
or threading promises made to a callback.

Change-Id: If496067b12df3a0adedc32e4b4005cd1c2d400f3
/frameworks/base/core/java/android/annotation/WorkerThread.java