summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormikaelpeltier <mikaelpeltier@google.com>2015-04-02 17:15:36 +0200
committermikaelpeltier <mikaelpeltier@google.com>2015-04-02 17:15:36 +0200
commit4575c7da5541b0d2d2098e7e7ddd895be4d2456f (patch)
treead3ed2da44391a1dfe2a8195211b27af95e7b1b0
parent5c94b46ffaa674064fac6cdd8e8f0e9b459d6f9a (diff)
downloadtoolchain_jill-4575c7da5541b0d2d2098e7e7ddd895be4d2456f.zip
toolchain_jill-4575c7da5541b0d2d2098e7e7ddd895be4d2456f.tar.gz
toolchain_jill-4575c7da5541b0d2d2098e7e7ddd895be4d2456f.tar.bz2
Rename ANNOTATION_LITERAL to ANNOTATION
Change-Id: I3b0fedadf4536e31135fa397ac281a5d06b441cd
-rw-r--r--jill/src/com/android/jill/backend/jayce/Token.java2
-rw-r--r--jill/src/com/android/jill/frontend/java/AnnotationWriter.java2
2 files changed, 2 insertions, 2 deletions
diff --git a/jill/src/com/android/jill/backend/jayce/Token.java b/jill/src/com/android/jill/backend/jayce/Token.java
index e7c8f2f..d1113a5 100644
--- a/jill/src/com/android/jill/backend/jayce/Token.java
+++ b/jill/src/com/android/jill/backend/jayce/Token.java
@@ -45,7 +45,7 @@ public enum Token {
ADD_OPERATION("+"),
ALLOC("alloc"),
AND_OPERATION("&&"),
- ANNOTATION_LITERAL("annotation-literal"),
+ ANNOTATION("annotation-literal"),
ANNOTATION_METHOD("annotation-method"),
ANNOTATION_TYPE("annotation"),
ARRAY_LENGTH("array-length"),
diff --git a/jill/src/com/android/jill/frontend/java/AnnotationWriter.java b/jill/src/com/android/jill/frontend/java/AnnotationWriter.java
index 97b97ea..4bb366e 100644
--- a/jill/src/com/android/jill/frontend/java/AnnotationWriter.java
+++ b/jill/src/com/android/jill/frontend/java/AnnotationWriter.java
@@ -181,7 +181,7 @@ public class AnnotationWriter extends JillWriter {
private void writeAnnotation(@Nonnull AnnotationNode anno,
@Nonnull RetentionPolicy retentionPolicy) throws IOException {
sourceInfoWriter.writeUnknwonDebugBegin();
- writer.writeKeyword(Token.ANNOTATION_LITERAL);
+ writer.writeKeyword(Token.ANNOTATION);
writer.writeOpen();
writer.writeRetentionPolicyEnum(retentionPolicy);
writer.writeId(anno.desc);