Add a contributing guideline for annotations

Change-Id: I9f051314aa65589e6985ac65cf7a207afd24c3f6
This commit is contained in:
Martin Fick
2012-02-28 11:18:47 -07:00
parent e5490f1f5a
commit 28c8af99c2

View File

@@ -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).