diff options
author | Martin Fick <mfick@codeaurora.org> | 2012-02-28 11:18:47 -0700 |
---|---|---|
committer | Martin Fick <mfick@codeaurora.org> | 2012-03-15 11:31:25 -0600 |
commit | d198fc9306c9c2009936a9858b00d3e2770dd218 (patch) | |
tree | 700bfed941f05b71e93247a0c8780e1c1ef31cdf | |
parent | 7f7eadff20913ba85a93ed01980eee27470c7e8e (diff) |
Add a contributing guideline for annotations
Change-Id: I9f051314aa65589e6985ac65cf7a207afd24c3f6
-rw-r--r-- | Documentation/dev-contributing.txt | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Documentation/dev-contributing.txt b/Documentation/dev-contributing.txt index fd98c1dd73..2609b05041 100644 --- a/Documentation/dev-contributing.txt +++ b/Documentation/dev-contributing.txt @@ -148,6 +148,8 @@ Here are some guidelines that Gerrit uses: be near each other baring a good reason not to. * If you are using assisted injection, the factory for your class should be before the instance members. + * Annotations should go before language keywords (final, private...) + + Example: @Assisted @Nullable final type varName * Imports should be mostly aphabetical (uppercase sorts before all lowercase, which means classes come before packages at the same level). |