Package javassist.compiler.ast
Class Keyword
- java.lang.Object
-
- javassist.compiler.ast.ASTree
-
- javassist.compiler.ast.Keyword
-
- All Implemented Interfaces:
java.io.Serializable
public class Keyword extends ASTree
Keyword.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description private static long
serialVersionUID
default serialVersionUIDprotected int
tokenId
-
Constructor Summary
Constructors Constructor Description Keyword(int token)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
accept(Visitor v)
Is a method for the visitor pattern.int
get()
java.lang.String
toString()
-
-
-
Field Detail
-
serialVersionUID
private static final long serialVersionUID
default serialVersionUID- See Also:
- Constant Field Values
-
tokenId
protected int tokenId
-
-
Method Detail
-
get
public int get()
-
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.- Specified by:
accept
in classASTree
- Throws:
CompileError
-
-