Top Description Fields Constructors Methods
javassist.compiler.ast

public Class Symbol

extends ASTree
Class Inheritance
Known Direct Subclasses
javassist.compiler.ast.Variable, javassist.compiler.ast.Member
Imports
javassist.compiler.CompileError

Identifier.

Field Summary

Modifier and TypeField and Description
protected String
private static final long

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public void
accept(Visitor v)

Implements abstract javassist.compiler.ast.ASTree.accept.

Is a method for the visitor pattern.

public String
get()

public String
toString()

Overrides javassist.compiler.ast.ASTree.toString.

Returns a string representation of the object.

Inherited from javassist.compiler.ast.ASTree:
getLeftgetRightgetTagsetLeftsetRight

Field Detail

identifierback to summary
protected String identifier
serialVersionUIDback to summary
private static final long serialVersionUID

Hides javassist.compiler.ast.ASTree.serialVersionUID.

default serialVersionUID

Constructor Detail

Symbolback to summary
public Symbol(String sym)

Method Detail

acceptback to summary
public void accept(Visitor v) throws CompileError

Implements abstract javassist.compiler.ast.ASTree.accept.

Doc from javassist.compiler.ast.ASTree.accept.

Is a method for the visitor pattern. It calls atXXX() on the given visitor, where XXX is the class name of the node object.

Annotations
@Override
getback to summary
public String get()
toStringback to summary
public String toString()

Overrides javassist.compiler.ast.ASTree.toString.

Doc from java.lang.Object.toString.

Returns a string representation of the object. Satisfying this method's contract implies a non-null result must be returned.

Returns:String

a string representation of the object

Annotations
@Override