diff options
| author | 2017-02-16 16:40:35 +0000 | |
|---|---|---|
| committer | 2017-02-16 16:40:36 +0000 | |
| commit | c7e1904010b73e4233e1fb5f5bb6193e2b60f658 (patch) | |
| tree | 99cf6bee029629d0b630f9363da1f5f6ae57a8b7 /test/948-change-annotations/src/TestMethodAnnotation2.java | |
| parent | 2bece1f9df4a060db2fc5b65cd3f3785e4e6e877 (diff) | |
| parent | 09cbce45ca058a7d1f183cc0f010646f2caaa40b (diff) | |
Merge "Revert "Revert "Add test for changing annotations."""
Diffstat (limited to 'test/948-change-annotations/src/TestMethodAnnotation2.java')
| -rw-r--r-- | test/948-change-annotations/src/TestMethodAnnotation2.java | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/test/948-change-annotations/src/TestMethodAnnotation2.java b/test/948-change-annotations/src/TestMethodAnnotation2.java new file mode 100644 index 0000000000..2d5bb728a4 --- /dev/null +++ b/test/948-change-annotations/src/TestMethodAnnotation2.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.METHOD) +public @ interface TestMethodAnnotation2 { + public String value(); +} |