Package classycle.classfile
Class NameAndTypeConstant
java.lang.Object
classycle.classfile.Constant
classycle.classfile.NameAndTypeConstant
Constant holding a name and a type or method descriptor.
- Author:
- Franz-Josef Elmer
-
Constructor Summary
ConstructorsConstructorDescriptionNameAndTypeConstant
(Constant[] pool, int nameIndex, int descriptorIndex) Creates an instance for the specified name and type or method descriptor. -
Method Summary
Methods inherited from class classycle.classfile.Constant
extractConstantPool, getConstant
-
Constructor Details
-
NameAndTypeConstant
Creates an instance for the specified name and type or method descriptor.- Parameters:
pool
- Constant pool. Needed to resolve references.nameIndex
- Index of the name in the pool.descriptorIndex
- Index of the type or method descriptor in the pool.
-
-
Method Details