Package org.apache.bcel.classfile
Class ModuleRequires
- java.lang.Object
-
- org.apache.bcel.classfile.ModuleRequires
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
accept(Visitor v)
Called by objects that are traversing the nodes of the tree implicitely defined by the contents of a Java class.ModuleRequires
copy()
void
dump(DataOutputStream file)
Dump table entry to file stream in binary format.String
toString()
String
toString(ConstantPool constant_pool)
-
-
-
Method Detail
-
accept
public void accept(Visitor v)
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
public void dump(DataOutputStream file) throws IOException
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
public String toString()
-
toString
public String toString(ConstantPool constant_pool)
- Returns:
- Resolved string representation
-
copy
public ModuleRequires copy()
- Returns:
- deep copy of this object
-
-