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

public final Class ModulePackages

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

Indicates all the packages of a module that are exported or opened by the module attribute. http://cr.openjdk.java.net/~mr/jigsaw/spec/java-se-9-jvms-diffs.pdf 4.7.26
Author
Andy Clement

Field Summary

Modifier and TypeField and Description
private static int[]
private int[]
Inherited from org.aspectj.apache.bcel.classfile.Attribute:
cpoollengthnameIndexNoAttributestag

Constructor Summary

AccessConstructor and Description
public
public
ModulePackages(int nameIndex, int length, int[] packageIndices, ConstantPool cp)

pack-priv
ModulePackages(int nameIndex, int length, DataInputStream stream, ConstantPool cp)

Method Summary

Modifier and TypeMethod and Description
public void
public final void
public final int[]
public final void
setPackageIndices(int[] packageIndices)

public final String
toString()

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

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

Field Detail

NO_PACKAGESback to summary
private static int[] NO_PACKAGES
packageIndicesback to summary
private int[] packageIndices

Constructor Detail

ModulePackagesback to summary
public ModulePackages(ModulePackages c)
ModulePackagesback to summary
public ModulePackages(int nameIndex, int length, int[] packageIndices, ConstantPool cp)
ModulePackagesback to summary
pack-priv ModulePackages(int nameIndex, int length, DataInputStream stream, ConstantPool cp) throws IOException

Method Detail

acceptback to summary
public void accept(ClassVisitor v)

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

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

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

Overrides org.aspectj.apache.bcel.classfile.Attribute.dump.

Annotations
@Override
getPackageIndicesback to summary
public final int[] getPackageIndices()
setPackageIndicesback to summary
public final void setPackageIndices(int[] packageIndices)
toStringback to summary
public final String toString()

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

Doc from java.lang.Object.toString.

Returns a string representation of the object.

Returns:String

a string representation of the object.

Annotations
@Override