History log of /external/doclava/src/com/google/doclava/AndroidLinter.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
8e8f96738e2a4e673db94a489ba2daf63807bb16 05-Jun-2017 Jeff Sharkey <jsharkey@android.com> Lint to verify @SystemApi permissions; more docs.

Most @SystemApi methods should be protected with system (or higher)
permissions, so verify that system service methods are annotated with
any relevant @RequiresPermission.

Auto-document new @SystemService annotation to guide developers on
how to obtain manager instances.

Test: make -j32 update-api && make -j32 offline-sdk-docs
Bug: 62263906
Change-Id: I57ae661241557970af4328ff21abec7629492c7c
/external/doclava/src/com/google/doclava/AndroidLinter.java
021685a606bcb5dca28685f6f6004805482cf657 23-Apr-2017 Jeff Sharkey <jsharkey@android.com> New "lint" errors, split Android-specific logic.

We really encounter three classes of trouble: errors, warnings, and
lints. See added docs about the differences between them. Colorize
trouble output to make it easier to triage.

Since both auxiliary tags and linting are project-specific, factor
out the Android-specific versions of these, and only put them into
place when the "-android" argument is requested.

Add linting logic to identify possible docs trouble, such as
missing or misleading annotations.

Test: make -j32 offline-sdk-docs
Bug: 37526420
Change-Id: Id8b5b4e143f206e959ecde4655e877ee7723e3cd
/external/doclava/src/com/google/doclava/AndroidLinter.java