Top Description Fields Constructors Methods
javassist.compiler.ast

public Class CondExpr

extends ASTList
Class Inheritance
Imports
javassist.compiler.CompileError

Conditional expression.

Field Summary

Modifier and TypeField and Description
private static final long

Constructor Summary

AccessConstructor and Description
public
CondExpr(ASTree cond, ASTree thenp, ASTree elsep)

Method Summary

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

Overrides javassist.compiler.ast.ASTList.accept.

Is a method for the visitor pattern.

public ASTree
public ASTree
public String
getTag()

Overrides javassist.compiler.ast.ASTree.getTag.

Returns the type of this node.

public void
public void
public void
public ASTree
Inherited from javassist.compiler.ast.ASTList:
appendconcatgetLeftgetRightheadlengthlengthmakesetHeadsetLeftsetRightsetTailsublistsubsttailtoString

Field Detail

serialVersionUIDback to summary
private static final long serialVersionUID

Hides javassist.compiler.ast.ASTList.serialVersionUID.

default serialVersionUID

Constructor Detail

CondExprback to summary
public CondExpr(ASTree cond, ASTree thenp, ASTree elsep)

Method Detail

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

Overrides javassist.compiler.ast.ASTList.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
condExprback to summary
public ASTree condExpr()
elseExprback to summary
public ASTree elseExpr()
getTagback to summary
public String getTag()

Overrides javassist.compiler.ast.ASTree.getTag.

Doc from javassist.compiler.ast.ASTree.getTag.

Returns the type of this node. This method is used by toString().

Annotations
@Override
setCondback to summary
public void setCond(ASTree t)
setElseback to summary
public void setElse(ASTree t)
setThenback to summary
public void setThen(ASTree t)
thenExprback to summary
public ASTree thenExpr()