aboutsummaryrefslogtreecommitdiffstats
path: root/rule_api/src/com/android/ide/common/api/SegmentType.java
diff options
context:
space:
mode:
authorTor Norbye <tnorbye@google.com>2011-12-05 18:02:53 -0800
committerTor Norbye <tnorbye@google.com>2011-12-05 20:56:05 -0800
commit3db9393ba06bbf70fa7b4a6db1ef60396979a1d4 (patch)
tree5608ff10af365e84483f3cdb6477b3973e3de512 /rule_api/src/com/android/ide/common/api/SegmentType.java
parentfaab5914e7cc5e7f4676202ba589bf08c5ae0e42 (diff)
downloadsdk-3db9393ba06bbf70fa7b4a6db1ef60396979a1d4.zip
sdk-3db9393ba06bbf70fa7b4a6db1ef60396979a1d4.tar.gz
sdk-3db9393ba06bbf70fa7b4a6db1ef60396979a1d4.tar.bz2
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
Diffstat (limited to 'rule_api/src/com/android/ide/common/api/SegmentType.java')
-rw-r--r--rule_api/src/com/android/ide/common/api/SegmentType.java9
1 files changed, 8 insertions, 1 deletions
diff --git a/rule_api/src/com/android/ide/common/api/SegmentType.java b/rule_api/src/com/android/ide/common/api/SegmentType.java
index a21247d..191d753 100644
--- a/rule_api/src/com/android/ide/common/api/SegmentType.java
+++ b/rule_api/src/com/android/ide/common/api/SegmentType.java
@@ -16,7 +16,14 @@
package com.android.ide.common.api;
-/** A segment type describes the different roles or positions a segment can have in a node */
+import com.google.common.annotations.Beta;
+
+/** A segment type describes the different roles or positions a segment can have in a node
+ * <p>
+ * <b>NOTE: This is not a public or final API; if you rely on this be prepared
+ * to adjust your code for the next tools release.</b>
+ */
+@Beta
public enum SegmentType {
LEFT, TOP, RIGHT, BOTTOM, BASELINE, CENTER_VERTICAL, CENTER_HORIZONTAL, UNKNOWN;