Top Description Fields Constructors Methods
javassist.compiler.ast

public Class Pair

extends ASTree
Class Inheritance
Imports
javassist.compiler.CompileError

A node of a a binary tree. This class provides concrete methods overriding abstract methods in ASTree.

Field Summary

Modifier and TypeField and Description
protected ASTree
protected ASTree
private static final long

Constructor Summary

AccessConstructor and Description
public
Pair(ASTree _left, ASTree _right)

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 ASTree
public ASTree
public void
public void
public String
toString()

Overrides javassist.compiler.ast.ASTree.toString.

Returns a string representation of the object.

Inherited from javassist.compiler.ast.ASTree:
getTag

Field Detail

leftback to summary
protected ASTree left
serialVersionUIDback to summary
private static final long serialVersionUID

Hides javassist.compiler.ast.ASTree.serialVersionUID.

default serialVersionUID

Constructor Detail

Pairback to summary
public Pair(ASTree _left, ASTree _right)

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
getLeftback to summary
public ASTree getLeft()

Overrides javassist.compiler.ast.ASTree.getLeft.

Annotations
@Override
getRightback to summary
public ASTree getRight()

Overrides javassist.compiler.ast.ASTree.getRight.

Annotations
@Override
setLeftback to summary
public void setLeft(ASTree _left)

Overrides javassist.compiler.ast.ASTree.setLeft.

Annotations
@Override
setRightback to summary
public void setRight(ASTree _right)

Overrides javassist.compiler.ast.ASTree.setRight.

Annotations
@Override
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