Package mockit.asm.constantPool
Class DynamicItem
java.lang.Object
mockit.asm.constantPool.Item
mockit.asm.constantPool.TypeOrMemberItem
mockit.asm.constantPool.DynamicItem
-
Field Summary
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class mockit.asm.constantPool.TypeOrMemberItem
getArgSizeComputingIfNeeded, getDesc, getName
Methods inherited from class mockit.asm.constantPool.Item
getHashCode, getNext, getType, setNext
-
Constructor Details
-
DynamicItem
public DynamicItem(@org.checkerframework.checker.index.qual.NonNegative int index)
-
-
Method Details
-
set
public void set(int type, @NonNull String name, @NonNull String desc, @org.checkerframework.checker.index.qual.NonNegative int index) Sets the type, name, desc, and index of the constant or invoke dynamic item.- Parameters:
type
- one ofConstantPoolTypes.INVOKE_DYNAMIC
orConstantPoolTypes.DYNAMIC
, for invoke or constant dynamic, respectivelyname
- the item namedesc
- the item type descriptorindex
- zero based index into the class attribute "BootstrapMethods".
-