src/share/classes/com/sun/tools/sjavac/comp/PubapiVisitor.java

Print this page

        

*** 30,50 **** import javax.lang.model.element.Modifier; import javax.lang.model.element.ExecutableElement; import javax.lang.model.element.TypeElement; import javax.lang.model.element.VariableElement; import javax.lang.model.type.TypeMirror; ! import javax.lang.model.util.ElementScanner6; /** Utility class that constructs a textual representation * of the public api of a class. * * <p><b>This is NOT part of any supported API. * If you write code that depends on this, you do so at your own * risk. This code and its internal interfaces are subject to change * or deletion without notice.</b></p> */ ! public class PubapiVisitor extends ElementScanner6<Void, Void> { StringBuffer sb; // Important that it is 1! Part of protocol over wire, silly yes. // Fix please. int indent = 1; --- 30,50 ---- import javax.lang.model.element.Modifier; import javax.lang.model.element.ExecutableElement; import javax.lang.model.element.TypeElement; import javax.lang.model.element.VariableElement; import javax.lang.model.type.TypeMirror; ! import javax.lang.model.util.ElementScanner9; /** Utility class that constructs a textual representation * of the public api of a class. * * <p><b>This is NOT part of any supported API. * If you write code that depends on this, you do so at your own * risk. This code and its internal interfaces are subject to change * or deletion without notice.</b></p> */ ! public class PubapiVisitor extends ElementScanner9<Void, Void> { StringBuffer sb; // Important that it is 1! Part of protocol over wire, silly yes. // Fix please. int indent = 1;