summaryrefslogtreecommitdiff
path: root/test/948-change-annotations/src/TestClassAnnotation2.java
diff options
context:
space:
mode:
author Treehugger Robot <treehugger-gerrit@google.com> 2017-02-15 23:05:23 +0000
committer Gerrit Code Review <noreply-gerritcodereview@google.com> 2017-02-15 23:05:24 +0000
commit9c0cc425126ee646a90c7bd7a2001ba1811ae62f (patch)
treed93088a731c848282af59a26ead804efcfe65d31 /test/948-change-annotations/src/TestClassAnnotation2.java
parent45d942662883a0c5106b85b54e87be0f0610b394 (diff)
parent701fc35b59d7d3eb33fb5d3cc90b14d29726ca66 (diff)
Merge "Add test for changing annotations."
Diffstat (limited to 'test/948-change-annotations/src/TestClassAnnotation2.java')
-rw-r--r--test/948-change-annotations/src/TestClassAnnotation2.java22
1 files changed, 22 insertions, 0 deletions
diff --git a/test/948-change-annotations/src/TestClassAnnotation2.java b/test/948-change-annotations/src/TestClassAnnotation2.java
new file mode 100644
index 0000000000..67e6260459
--- /dev/null
+++ b/test/948-change-annotations/src/TestClassAnnotation2.java
@@ -0,0 +1,22 @@
+/*
+ * Copyright (C) 2017 The Android Open Source Project
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+import java.lang.annotation.*;
+@Retention(RetentionPolicy.RUNTIME)
+@Target(ElementType.TYPE)
+public @ interface TestClassAnnotation2 {
+ public String value();
+}