2 * Copyright (C) 2015 Roland Haeder
4 * This program is free software: you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License as published by
6 * the Free Software Foundation, either version 3 of the License, or
7 * (at your option) any later version.
9 * This program is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 * GNU General Public License for more details.
14 * You should have received a copy of the GNU General Public License
15 * along with this program. If not, see <http://www.gnu.org/licenses/>.
17 package org.mxchange.jshopreceipt.receipt;
19 import java.lang.annotation.ElementType;
20 import java.lang.annotation.Retention;
21 import java.lang.annotation.RetentionPolicy;
22 import java.lang.annotation.Target;
23 import javax.inject.Qualifier;
26 * Receipt annotation. This file is based on the example from
27 * http://memorynotfound.com/java-se-unit-testing-cdi-junit-jboss-weld-se/ and
28 * has been slightly modified to make it work.
30 * @author Roland Haeder<roland@mxchange.org>
33 @Retention (RetentionPolicy.RUNTIME)
34 @Target ({ElementType.METHOD, ElementType.FIELD, ElementType.PARAMETER, ElementType.TYPE})
35 public @interface Receipt {