OSDN Git Service

Handle new current.txt format.
authorJeff Sharkey <jsharkey@android.com>
Tue, 17 Jul 2018 19:29:40 +0000 (13:29 -0600)
committerAdrian Roos <roosa@google.com>
Tue, 22 Jan 2019 10:36:34 +0000 (11:36 +0100)
commit40d67f4b6dcad3f5728f9b3542e350028bbe8b8f
tree11eff6bdaba450180d47a2f9422a64051829d275
parentfe5ee6e74b45553e408b1f5c47db773fd971ea7e
Handle new current.txt format.

We're starting to see "@interface" show up, so handle them like any
other interface.  We're also seeing more details argument lists
with names and annotations; ignore them for now, since all our
existing lint checks work on the "real" data type.

Verified that it handles new support library current.txt files
without causing any regressions against existing framework
current.txt files.

Test: manual inspection
Bug: 111555356
Change-Id: Id11c3561edd317e4ba1a9b43993fd96d8243e00d
(cherry picked from commit bd2611916990b0d18a36483060365207fdd94c13)
tools/apilint/apilint.py