public class InvokeDynamicConstant extends Constant
Constructor and Description |
---|
InvokeDynamicConstant(Constant[] pool,
int bootstrapMethodAttrIndex,
int nameAndTypeIndex)
Creates an instance for the specified bootstrap method.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getNameAndType()
Returns name and type.
|
java.lang.String |
toString()
Returns constant type and descriptor.
|
extractConstantPool, getConstant
public InvokeDynamicConstant(Constant[] pool, int bootstrapMethodAttrIndex, int nameAndTypeIndex)
pool
- Constant pool. Needed to resolve references.