com.sun.tools.classfile
Class ModuleExportTable_attribute

java.lang.Object
  extended by com.sun.tools.classfile.Attribute
      extended by com.sun.tools.classfile.ModuleExportTable_attribute

public class ModuleExportTable_attribute
extends Attribute

See JSR 277.

This is NOT part of any API supported by Sun Microsystems. If you write code that depends on this, you do so at your own risk. This code and its internal interfaces are subject to change or deletion without notice.


Nested Class Summary
 
Nested classes/interfaces inherited from class com.sun.tools.classfile.Attribute
Attribute.Factory, Attribute.Visitor<R,P>
 
Field Summary
 int[] export_type_table
           
 
Fields inherited from class com.sun.tools.classfile.Attribute
AnnotationDefault, attribute_length, attribute_name_index, CharacterRangeTable, Code, CompilationID, ConstantValue, Deprecated, EnclosingMethod, Exceptions, InnerClasses, LineNumberTable, LocalVariableTable, LocalVariableTypeTable, Module, ModuleExportTable, ModuleMemberTable, RuntimeInvisibleAnnotations, RuntimeInvisibleParameterAnnotations, RuntimeVisibleAnnotations, RuntimeVisibleParameterAnnotations, Signature, SourceDebugExtension, SourceFile, SourceID, StackMap, StackMapTable, Synthetic
 
Constructor Summary
ModuleExportTable_attribute(ClassReader cr, int name_index, int length)
           
ModuleExportTable_attribute(ConstantPool cp, int[] export_type_table)
           
ModuleExportTable_attribute(int name_index, int[] export_type_table)
           
 
Method Summary
<R,P> R
accept(Attribute.Visitor<R,P> visitor, P p)
           
 int getExportTypeCount()
           
 java.lang.String getExportTypeName(int index, ConstantPool constant_pool)
           
 
Methods inherited from class com.sun.tools.classfile.Attribute
getName, read
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

export_type_table

public final int[] export_type_table
Constructor Detail

ModuleExportTable_attribute

ModuleExportTable_attribute(ClassReader cr,
                            int name_index,
                            int length)
                      throws java.io.IOException
Throws:
java.io.IOException

ModuleExportTable_attribute

public ModuleExportTable_attribute(ConstantPool cp,
                                   int[] export_type_table)
                            throws ConstantPoolException
Throws:
ConstantPoolException

ModuleExportTable_attribute

public ModuleExportTable_attribute(int name_index,
                                   int[] export_type_table)
Method Detail

getExportTypeCount

public int getExportTypeCount()

getExportTypeName

public java.lang.String getExportTypeName(int index,
                                          ConstantPool constant_pool)
                                   throws ConstantPoolException
Throws:
ConstantPoolException

accept

public <R,P> R accept(Attribute.Visitor<R,P> visitor,
                      P p)
Specified by:
accept in class Attribute