test/com/sun/javadoc/testLinkTaglet/pkg/C.java

changeset 1065
e9f118c2bd3c
parent 554
9d9f26857129
child 2525
2eb010b6cb22
equal deleted inserted replaced
1064:c0d5f93af048 1065:e9f118c2bd3c
1 /* 1 /*
2 * Copyright (c) 2004, Oracle and/or its affiliates. All rights reserved. 2 * Copyright (c) 2004, 2011, 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.
32 * Unqualified Link: {@link #method(InnerC, InnerC2)}.<br/> 32 * Unqualified Link: {@link #method(InnerC, InnerC2)}.<br/>
33 */ 33 */
34 public class C { 34 public class C {
35 35
36 public InnerC MEMBER = new InnerC(); 36 public InnerC MEMBER = new InnerC();
37 /**
38 * A red herring inner class to confuse the matching, thus to
39 * ensure the right one is linked.
40 */
41 public class RedHerringInnerC {}
37 42
38 /** 43 /**
39 * Link to member in outer class: {@link #MEMBER} <br/> 44 * Link to member in outer class: {@link #MEMBER} <br/>
40 * Link to member in inner class: {@link InnerC2#MEMBER2} <br/> 45 * Link to member in inner class: {@link InnerC2#MEMBER2} <br/>
41 * Link to another inner class: {@link InnerC2} 46 * Link to another inner class: {@link InnerC2}

mercurial