-
- All Implemented Interfaces:
public final class ConstantMethodTypeInfo extends AbstractConstant
Describes a CONSTANT_MethodType_info constant pool data structure.
-
-
Field Summary
Fields Modifier and Type Field Description private IntegerdescriptorIndexprivate final ConstantTypeconstantTypeprivate final Stringverboseprivate final Stringnameprivate final ConstantUtf8InfotypeConstant
-
Constructor Summary
Constructors Constructor Description ConstantMethodTypeInfo(ClassFile classFile)
-
Method Summary
Modifier and Type Method Description final IntegergetDescriptorIndex()Index of the constant pool entry containing the descriptor of the method. final UnitsetDescriptorIndex(Integer descriptorIndex)Index of the constant pool entry containing the descriptor of the method. ConstantTypegetConstantType()Type of the cp_info structure. StringgetVerbose()final StringgetName()final ConstantUtf8InfogetTypeConstant()Booleanequals(Object other)Check if constant is equal to another one. IntegerhashCode()Hash code of the constant, -
-
Constructor Detail
-
ConstantMethodTypeInfo
ConstantMethodTypeInfo(ClassFile classFile)
-
-
Method Detail
-
getDescriptorIndex
final Integer getDescriptorIndex()
Index of the constant pool entry containing the descriptor of the method.
-
setDescriptorIndex
final Unit setDescriptorIndex(Integer descriptorIndex)
Index of the constant pool entry containing the descriptor of the method.
-
getConstantType
ConstantType getConstantType()
Type of the cp_info structure.
-
getVerbose
String getVerbose()
-
getTypeConstant
final ConstantUtf8Info getTypeConstant()
-
-
-
-