diff options
author | Tor Norbye <tnorbye@google.com> | 2011-12-02 10:53:21 -0800 |
---|---|---|
committer | Tor Norbye <tnorbye@google.com> | 2012-01-09 16:22:31 -0800 |
commit | 14312a9603fab9e711639cfc19d5ea1de17250b1 (patch) | |
tree | 8cefd6c331a4ea29bf85efc2816467d5cdc6fb81 /eclipse/scripts | |
parent | f3d0c34a4626fb7086c1e1330fd4f540c1653177 (diff) | |
download | sdk-14312a9603fab9e711639cfc19d5ea1de17250b1.zip sdk-14312a9603fab9e711639cfc19d5ea1de17250b1.tar.gz sdk-14312a9603fab9e711639cfc19d5ea1de17250b1.tar.bz2 |
Lint Java source support
This changeset adds Java AST support to Lint. There are new interfaces
for Java parser and specialized Java detectors. Java detectors can
either visit a full parse tree, or they can register interest in
specific methods, or Android resource references, or specific AST node
types -- or a combination of these. They will then be invoked during
an AST visit with the relevant info.
This changeset also rewrites the existing detectors that were using
String-based pattern checking on Java files to using real AST
traversal instead (and it removes the custom Eclipse-specific unused
resource detector since the plain one now does the same AST-based
analysis that the Eclipse one did.)
Change-Id: I4d85f8b785bf41a88dbb29e7017b9c0f588880bc
Diffstat (limited to 'eclipse/scripts')
-rwxr-xr-x | eclipse/scripts/create_all_symlinks.sh | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/eclipse/scripts/create_all_symlinks.sh b/eclipse/scripts/create_all_symlinks.sh index 0842342..b23a3b5 100755 --- a/eclipse/scripts/create_all_symlinks.sh +++ b/eclipse/scripts/create_all_symlinks.sh @@ -76,6 +76,7 @@ ADT_PREBUILTS="\ prebuilts/tools/common/asm-tools/asm-4.0.jar \ prebuilts/tools/common/asm-tools/asm-tree-4.0.jar \ prebuilts/tools/common/guava-tools/guava-10.0.1.jar \ + prebuilts/tools/common/lombok-ast/lombok-ast-0.2.jar \ prebuilt/common/commons-compress/commons-compress-1.0.jar \ prebuilt/common/http-client/httpclient-4.1.1.jar \ prebuilt/common/http-client/httpcore-4.1.jar \ |