1 /* |
1 /* |
2 * Copyright (c) 2001, 2011, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 2001, 2012, 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. Oracle designates this |
7 * published by the Free Software Foundation. Oracle designates this |
31 import com.sun.tools.javac.code.Symbol.PackageSymbol; |
31 import com.sun.tools.javac.code.Symbol.PackageSymbol; |
32 import com.sun.tools.javac.jvm.ClassReader; |
32 import com.sun.tools.javac.jvm.ClassReader; |
33 import com.sun.tools.javac.util.Context; |
33 import com.sun.tools.javac.util.Context; |
34 |
34 |
35 /** Javadoc uses an extended class reader that records package.html entries |
35 /** Javadoc uses an extended class reader that records package.html entries |
|
36 * |
|
37 * <p><b>This is NOT part of any supported API. |
|
38 * If you write code that depends on this, you do so at your own risk. |
|
39 * This code and its internal interfaces are subject to change or |
|
40 * deletion without notice.</b> |
|
41 * |
36 * @author Neal Gafter |
42 * @author Neal Gafter |
37 */ |
43 */ |
38 public class JavadocClassReader extends ClassReader { |
44 public class JavadocClassReader extends ClassReader { |
39 |
45 |
40 public static JavadocClassReader instance0(Context context) { |
46 public static JavadocClassReader instance0(Context context) { |