Top Description Fields Constructors Methods
javassist.compiler.ast

public Class Keyword

extends ASTree
Class Inheritance
Imports
javassist.compiler.CompileError

Keyword.

Field Summary

Modifier and TypeField and Description
private static final long
protected int

Constructor Summary

AccessConstructor and Description
public
Keyword(int token)

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 int
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

serialVersionUIDback to summary
private static final long serialVersionUID

Hides javassist.compiler.ast.ASTree.serialVersionUID.

default serialVersionUID

tokenIdback to summary
protected int tokenId

Constructor Detail

Keywordback to summary
public Keyword(int token)

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 int 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