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

public final Class ConstantPackage

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

Represents a module. See http://cr.openjdk.java.net/~mr/jigsaw/spec/java-se-9-jvms-diffs.pdf 4.4.12
Author
Andy Clement

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
ConstantPackage(int nameIndex)

Method Summary

Modifier and TypeMethod and Description
public void
public final void
public final int
public String
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

ConstantPackageback to summary
pack-priv ConstantPackage(DataInputStream file) throws IOException
ConstantPackageback to summary
public ConstantPackage(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
getNameIndexback to summary
public final int getNameIndex()
getPackageNameback to summary
public String getPackageName(ConstantPool cpool)
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