Class DynamicItem


public final class DynamicItem extends TypeOrMemberItem
  • 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 of ConstantPoolTypes.INVOKE_DYNAMIC or ConstantPoolTypes.DYNAMIC, for invoke or constant dynamic, respectively
      name - the item name
      desc - the item type descriptor
      index - zero based index into the class attribute "BootstrapMethods".