Class ConstantMethodType
java.lang.Object
org.apache.bcel.classfile.Constant
org.apache.bcel.classfile.ConstantMethodType
- All Implemented Interfaces:
Serializable, Cloneable, Node
-
Field Summary
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidCalled by objects that are traversing the nodes of the tree implicitly defined by the contents of a Java class.final voiddump(DataOutputStream file) Dump name and signature index to file stream in binary format.intvoidsetDescriptorIndex(int descriptor_index) final StringtoString()Methods inherited from class Constant
clone, copy, equals, getComparator, getTag, hashCode, setComparator
-
Constructor Details
-
ConstantMethodType
Initialize from another object. -
ConstantMethodType
public ConstantMethodType(int descriptor_index)
-
-
Method Details
-
accept
Called by objects that are traversing the nodes of the tree implicitly defined by the contents of a Java class. I.e., the hierarchy of methods, fields, attributes, etc. spawns a tree of objects. -
dump
Dump name and signature index to file stream in binary format.- Specified by:
dumpin classConstant- Parameters:
file- Output file stream- Throws:
IOException
-
getDescriptorIndex
public int getDescriptorIndex() -
setDescriptorIndex
public void setDescriptorIndex(int descriptor_index) -
toString
-