From 4575c7da5541b0d2d2098e7e7ddd895be4d2456f Mon Sep 17 00:00:00 2001 From: mikaelpeltier Date: Thu, 2 Apr 2015 17:15:36 +0200 Subject: Rename ANNOTATION_LITERAL to ANNOTATION Change-Id: I3b0fedadf4536e31135fa397ac281a5d06b441cd --- jill/src/com/android/jill/backend/jayce/Token.java | 2 +- jill/src/com/android/jill/frontend/java/AnnotationWriter.java | 2 +- 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); -- cgit v1.1