R
- the return type of the operation implemented by this
visitor; use Void if no return type is needed.S
- the type of the second argument (the first being the
symbol itself) of the operation implemented by this visitor; use
Void if a second argument is not needed.public abstract static class Types.DefaultSymbolVisitor<R,S> extends Object implements Symbol.Visitor<R,S>
Constructor and Description |
---|
DefaultSymbolVisitor() |
Modifier and Type | Method and Description |
---|---|
R |
visit(Symbol s,
S arg) |
R |
visitClassSymbol(Symbol.ClassSymbol s,
S arg) |
R |
visitMethodSymbol(Symbol.MethodSymbol s,
S arg) |
R |
visitOperatorSymbol(Symbol.OperatorSymbol s,
S arg) |
R |
visitPackageSymbol(Symbol.PackageSymbol s,
S arg) |
R |
visitTypeSymbol(Symbol.TypeSymbol s,
S arg) |
R |
visitVarSymbol(Symbol.VarSymbol s,
S arg) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
visitSymbol
public R visitClassSymbol(Symbol.ClassSymbol s, S arg)
visitClassSymbol
in interface Symbol.Visitor<R,S>
public R visitMethodSymbol(Symbol.MethodSymbol s, S arg)
visitMethodSymbol
in interface Symbol.Visitor<R,S>
public R visitOperatorSymbol(Symbol.OperatorSymbol s, S arg)
visitOperatorSymbol
in interface Symbol.Visitor<R,S>
public R visitPackageSymbol(Symbol.PackageSymbol s, S arg)
visitPackageSymbol
in interface Symbol.Visitor<R,S>
public R visitTypeSymbol(Symbol.TypeSymbol s, S arg)
visitTypeSymbol
in interface Symbol.Visitor<R,S>
public R visitVarSymbol(Symbol.VarSymbol s, S arg)
visitVarSymbol
in interface Symbol.Visitor<R,S>
Copyright © 2015. All rights reserved.