History log of /sdk/rule_api/src/com/android/ide/common/api/IMenuCallback.java
Revision Date Author Comments
7e4b8e9d595e45baa9d87cdb8282f02759e73abc 30-May-2012 Tor Norbye <tnorbye@google.com> Fix nullness annotations

Eclipse 4.2 includes analysis support for @Nullable and @NonNull
annotations. However, it requires these annotations to be *repeated*
on every single method implementing or overriding a superclass or
interface method (!).

This changeset basically applies the quickfixes to inline these
annotations. It also changes the retention of our nullness
annotations from source to class, since without this Eclipse believes
that a @NonNull annotation downstream is a redefinition of a @Nullable
annotation.

Finally, the null analysis revealed a dozen or so places where the
nullness annotation was either wrong, or some null checking on
parameters or return values needed to be done.

Change-Id: I43b4e56e2d025a8a4c92a8873f55c13cdbc4c1cb
5d7dc30638953195ed55d32bc9dc37102a613ff8 23-Dec-2011 Tor Norbye <tnorbye@google.com> Add @Nullable/@NonNull annotations to the Rule API

Change-Id: If7b6d7b505476676c5683ab4966fa5f587b15d1e
3db9393ba06bbf70fa7b4a6db1ef60396979a1d4 06-Dec-2011 Tor Norbye <tnorbye@google.com> Add the Guava library to the tools

This changeset adds the Guava library to ADT and lint. (It is also a
prerequisite for the Lombok AST library which is added by a later CL.)

This changeset also uses the library in a few simple ways: It replaces
some custom I/O and collections code with calls into the equivalent
Guava methods, and it also adds the @Beta annotation on the various
"API" classes which are not yet stable.

Change-Id: I2f50febfa075c32818404e888578a2e1e447d408
a0bccbddc52575255c5ce19c9d2c96d9639d26ca 16-Aug-2011 Tor Norbye <tnorbye@google.com> Pull View Rules API into a separate library

This changeset pulls out the API classes from the plugin sources and
into a separate standalone .jar library. The library depends on the
common.jar library.

With the separate view API it should be possible to build designtime
helpers (view rules) for custom views to improve editing behavior in
the layout editor.

Change-Id: I20bb511668de2fe52910e5fe0bbd3ec2a18b5a08