Top Description Fields Constructors Methods
org.aspectj.apache.bcel.classfile

public final Class ConstantClass

extends Constant
Class Inheritance
Imports
java.io.DataInputStream, .DataOutputStream, .IOException, org.aspectj.apache.bcel.Constants

This class is derived from the abstract Constant class and represents a reference to a (external) class.
Authors
M. Dahm, Andy Clement
Version
$Id: ConstantClass.java,v 1.6 2009/09/16 00:43:49 aclement Exp $

Field Summary

Modifier and TypeField and Description
private int
Inherited from org.aspectj.apache.bcel.classfile.Constant:
tag

Constructor Summary

AccessConstructor and Description
pack-priv
public
ConstantClass(int nameIndex)

Method Summary

Modifier and TypeMethod and Description
public void
public final void
public String
public final int
public Integer
public final String
toString()

Overrides org.aspectj.apache.bcel.classfile.Constant.toString.

Returns a string representation of the object.
Inherited from org.aspectj.apache.bcel.classfile.Constant:
clonecopygetTagreadConstant

Field Detail

nameIndexback to summary
private int nameIndex

Constructor Detail

ConstantClassback to summary
pack-priv ConstantClass(DataInputStream file) throws IOException
ConstantClassback to summary
public ConstantClass(int nameIndex)

Method Detail

acceptback to summary
public void accept(ClassVisitor v)

Implements abstract org.aspectj.apache.bcel.classfile.Constant.accept.

Implements org.aspectj.apache.bcel.classfile.Node.accept.

Annotations
@Override
dumpback to summary
public final void dump(DataOutputStream file) throws IOException

Implements abstract org.aspectj.apache.bcel.classfile.Constant.dump.

Annotations
@Override
getClassnameback to summary
public String getClassname(ConstantPool cpool)
getNameIndexback to summary
public final int getNameIndex()
getValueback to summary
public Integer getValue()

Implements abstract org.aspectj.apache.bcel.classfile.Constant.getValue.

Annotations
@Override
toStringback to summary
public final String toString()

Overrides org.aspectj.apache.bcel.classfile.Constant.toString.

Doc from java.lang.Object.toString.

Returns a string representation of the object.

Returns:String

a string representation of the object.

Annotations
@Override