Class ConstantModule

java.lang.Object
org.apache.bcel.classfile.Constant
org.apache.bcel.classfile.ConstantModule
All Implemented Interfaces:
Cloneable, ConstantObject, Node

public final class ConstantModule extends Constant implements ConstantObject
This class is derived from the abstract Constant and represents a reference to a module.

Note: Early access Java 9 support- currently subject to change

Since:
6.1
See Also:
  • Constructor Details

    • ConstantModule

      Initialize from another object.
      Parameters:
      c - Source to copy.
    • ConstantModule

      public ConstantModule(int nameIndex)
      Parameters:
      nameIndex - Name index in constant pool. Should refer to a ConstantUtf8.
  • Method Details