langtools/test/jdk/javadoc/doclet/testModules/moduleB/testpkgmdlB/AnnotationType.java
equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 2016, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 2016, 2017, Oracle and/or its affiliates. All rights reserved. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
4 * |
4 * |
5 * This code is free software; you can redistribute it and/or modify it |
5 * This code is free software; you can redistribute it and/or modify it |
6 * under the terms of the GNU General Public License version 2 only, as |
6 * under the terms of the GNU General Public License version 2 only, as |
7 * published by the Free Software Foundation. |
7 * published by the Free Software Foundation. |
26 import java.lang.annotation.*; |
26 import java.lang.annotation.*; |
27 |
27 |
28 /** |
28 /** |
29 * This is a test annotation type. |
29 * This is a test annotation type. |
30 */ |
30 */ |
31 @Documented public @interface AnnotationType { |
31 @Documented @Target(ElementType.MODULE) public @interface AnnotationType { |
32 |
32 |
33 /** |
33 /** |
34 * The copyright holder. |
34 * The copyright holder. |
35 * |
35 * |
36 * @return a string. |
36 * @return a string. |