Package javassist.compiler.ast
Class Variable
- java.lang.Object
-
- javassist.compiler.ast.ASTree
-
- javassist.compiler.ast.Symbol
-
- javassist.compiler.ast.Variable
-
- All Implemented Interfaces:
java.io.Serializable
public class Variable extends Symbol
Variable.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected Declarator
declarator
private static long
serialVersionUID
default serialVersionUID-
Fields inherited from class javassist.compiler.ast.Symbol
identifier
-
-
Constructor Summary
Constructors Constructor Description Variable(java.lang.String sym, Declarator d)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
accept(Visitor v)
Is a method for the visitor pattern.Declarator
getDeclarator()
java.lang.String
toString()
-
-
-
Field Detail
-
serialVersionUID
private static final long serialVersionUID
default serialVersionUID- See Also:
- Constant Field Values
-
declarator
protected Declarator declarator
-
-
Constructor Detail
-
Variable
public Variable(java.lang.String sym, Declarator d)
-
-
Method Detail
-
getDeclarator
public Declarator getDeclarator()
-
accept
public void accept(Visitor v) throws CompileError
Description copied from class:ASTree
Is a method for the visitor pattern. It callsatXXX()
on the given visitor, whereXXX
is the class name of the node object.- Overrides:
accept
in classSymbol
- Throws:
CompileError
-
-