From 81265af45ab0fedb7a50a43a2d4f1b9a09c6d0c1 Mon Sep 17 00:00:00 2001 From: Gunnar Morling Date: Sat, 27 Apr 2013 12:42:52 +0200 Subject: [PATCH] Adding @IssueKey annotation --- .../org/mapstruct/ap/testutil/IssueKey.java | 30 +++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 processor/src/test/java/org/mapstruct/ap/testutil/IssueKey.java diff --git a/processor/src/test/java/org/mapstruct/ap/testutil/IssueKey.java b/processor/src/test/java/org/mapstruct/ap/testutil/IssueKey.java new file mode 100644 index 000000000..e746bdaeb --- /dev/null +++ b/processor/src/test/java/org/mapstruct/ap/testutil/IssueKey.java @@ -0,0 +1,30 @@ +/** + * Copyright 2012-2013 Gunnar Morling (http://www.gunnarmorling.de/) + * + * 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. + */ +package org.mapstruct.ap.testutil; + +import java.lang.annotation.Retention; +import java.lang.annotation.RetentionPolicy; + +/** + * Id of the issue addressed by a test or test method in the issue tracker. + * + * @author Gunnar Morling + */ +@Retention(RetentionPolicy.SOURCE) +public @interface IssueKey { + String value(); +}