langtools/src/jdk.compiler/share/classes/com/sun/tools/sjavac/comp/PubapiVisitor.java
equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 2011, 2013, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 2011, 2014, 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 |
35 import javax.lang.model.util.ElementScanner9; |
35 import javax.lang.model.util.ElementScanner9; |
36 |
36 |
37 /** Utility class that constructs a textual representation |
37 /** Utility class that constructs a textual representation |
38 * of the public api of a class. |
38 * of the public api of a class. |
39 * |
39 * |
40 * <p><b>This is NOT part of any supported API. |
40 * <p><b>This is NOT part of any supported API. |
41 * If you write code that depends on this, you do so at your own |
41 * If you write code that depends on this, you do so at your own risk. |
42 * risk. This code and its internal interfaces are subject to change |
42 * This code and its internal interfaces are subject to change or |
43 * or deletion without notice.</b></p> |
43 * deletion without notice.</b> |
44 */ |
44 */ |
45 public class PubapiVisitor extends ElementScanner9<Void, Void> { |
45 public class PubapiVisitor extends ElementScanner9<Void, Void> { |
46 |
46 |
47 StringBuffer sb; |
47 StringBuffer sb; |
48 // Important that it is 1! Part of protocol over wire, silly yes. |
48 // Important that it is 1! Part of protocol over wire, silly yes. |