Package org.apache.bcel.classfile
Class ModuleRequires
java.lang.Object
org.apache.bcel.classfile.ModuleRequires
This class represents an entry in the requires table of the Module attribute.
Each entry describes a module on which the parent module depends.
- Since:
- 6.4.0
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Called by objects that are traversing the nodes of the tree implicitely defined by the contents of a Java class.copy()
void
dump
(DataOutputStream file) Dump table entry to file stream in binary format.toString()
toString
(ConstantPool constant_pool)
-
Method Details
-
accept
Called by objects that are traversing the nodes of the tree implicitely defined by the contents of a Java class. I.e., the hierarchy of methods, fields, attributes, etc. spawns a tree of objects. -
dump
Dump table entry to file stream in binary format.- Parameters:
file
- Output file stream- Throws:
IOException
- if an I/O Exception occurs in writeShort
-
toString
-
toString
- Returns:
- Resolved string representation
-
copy
- Returns:
- deep copy of this object
-