org.apache.bcel.classfile
public abstract class Constant extends Object implements Cloneable, Node, Serializable
Version: $Id: Constant.java 152815 2002-07-11 19:39:05Z mdahm $
| Field Summary | |
|---|---|
| protected byte | tag |
| Method Summary | |
|---|---|
| abstract void | accept(Visitor v)
Called by objects that are traversing the nodes of the tree implicitely
defined by the contents of a Java class. |
| Object | clone() |
| Constant | copy() |
| abstract void | dump(DataOutputStream file) |
| byte | getTag() |
| String | toString() |
Parameters: v Visitor object
Returns: deep copy of this constant
Returns: Tag of constant, i.e., its type. No setTag() method to avoid confusion.
Returns: String representation.