Top Description Fields Constructors Methods
javassist.compiler.ast

public Class Variable

extends Symbol
Class Inheritance
Imports
javassist.compiler.CompileError

Variable.

Field Summary

Modifier and TypeField and Description
protected Declarator
private static final long
Inherited from javassist.compiler.ast.Symbol:
identifier

Constructor Summary

AccessConstructor and Description
public

Method Summary

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

Overrides javassist.compiler.ast.Symbol.accept.

Is a method for the visitor pattern.

public Declarator
public String
toString()

Overrides javassist.compiler.ast.Symbol.toString.

Returns a string representation of the object.

Inherited from javassist.compiler.ast.Symbol:
get

Field Detail

declaratorback to summary
protected Declarator declarator
serialVersionUIDback to summary
private static final long serialVersionUID

Hides javassist.compiler.ast.Symbol.serialVersionUID.

default serialVersionUID

Constructor Detail

Variableback to summary
public Variable(String sym, Declarator d)

Method Detail

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

Overrides javassist.compiler.ast.Symbol.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
getDeclaratorback to summary
public Declarator getDeclarator()
toStringback to summary
public String toString()

Overrides javassist.compiler.ast.Symbol.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