Save This Page
Home » openjdk-7 » com.sun.tools » javac » code » [javadoc | source]
com.sun.tools.javac.code
public interface: Symbol.Visitor [javadoc | source]

All Known Implementing Classes:
    Printer, DefaultSymbolVisitor, RichPrinter

A visitor for symbols. A visitor is used to implement operations (or relations) on symbols. Most common operations on types are binary relations and this interface is designed for binary relations, that is, operations on the form Symbol × P → R.
Method from com.sun.tools.javac.code.Symbol$Visitor Summary:
visitClassSymbol,   visitMethodSymbol,   visitOperatorSymbol,   visitPackageSymbol,   visitSymbol,   visitTypeSymbol,   visitVarSymbol
Method from com.sun.tools.javac.code.Symbol$Visitor Detail:
 public R visitClassSymbol(ClassSymbol s,
    P arg)
 public R visitMethodSymbol(MethodSymbol s,
    P arg)
 public R visitOperatorSymbol(OperatorSymbol s,
    P arg)
 public R visitPackageSymbol(PackageSymbol s,
    P arg)
 public R visitSymbol(Symbol s,
    P arg)
 public R visitTypeSymbol(TypeSymbol s,
    P arg)
 public R visitVarSymbol(VarSymbol s,
    P arg)