public class MethodTypeConstant extends Constant
Constructor and Description |
---|
MethodTypeConstant(Constant[] pool,
int descriptorIndex)
Creates an instance for the specified method reference.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getDescriptor()
Returns the type or method descriptor.
|
java.lang.String |
toString()
Returns constant type and descriptor.
|
extractConstantPool, getConstant
public MethodTypeConstant(Constant[] pool, int descriptorIndex)
pool
- Constant pool. Needed to resolve references.