Package classycle.classfile
Class MethodTypeConstant
- java.lang.Object
-
- classycle.classfile.Constant
-
- classycle.classfile.MethodTypeConstant
-
public class MethodTypeConstant extends Constant
Constant representing a method type.- Author:
- Franz-Josef Elmer
-
-
Constructor Summary
Constructors Constructor Description MethodTypeConstant(Constant[] pool, int descriptorIndex)
Creates an instance for the specified method reference.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getDescriptor()
Returns the type or method descriptor.java.lang.String
toString()
Returns constant type and descriptor.-
Methods inherited from class classycle.classfile.Constant
extractConstantPool, getConstant
-
-
-
-
Constructor Detail
-
MethodTypeConstant
public MethodTypeConstant(Constant[] pool, int descriptorIndex)
Creates an instance for the specified method reference.- Parameters:
pool
- Constant pool. Needed to resolve references.
-
-