インタフェースCodeBuilder

すべてのスーパー・インタフェース:
ClassFileBuilderPREVIEW<CodeElementPREVIEW,CodeBuilderPREVIEW>, Consumer<CodeElementPREVIEW>
既知のすべてのサブインタフェース:
CodeBuilder.BlockCodeBuilderPREVIEW

public sealed interface CodeBuilder extends ClassFileBuilderPREVIEW<CodeElementPREVIEW,CodeBuilderPREVIEW> permits CodeBuilder.BlockCodeBuilderPREVIEW (not exhaustive)
CodeBuilderは、JavaプラットフォームのプレビューAPIです。
プレビュー機能が有効な場合のみ、プログラムでCodeBuilderを使用できます。
プレビュー機能は、今後のリリースで削除するか、Javaプラットフォームの永続機能にアップグレードすることができます。
コード属性(メソッド本体)のビルダー。 ビルダーは直接作成されず、MethodBuilder.withCode(Consumer)PREVIEWなどのメソッドによってハンドラに渡されるか、コード変換に渡されます。 コードの要素は、CodeElementPREVIEWClassFileBuilder.with(ClassFileElement)PREVIEWに渡すか、または様々なwithXxxメソッドを呼び出すことで、抽象的に指定できます。
導入されたバージョン:
22
関連項目:
  • メソッドの詳細

    • original

      このコード・ビルダーが一部のCodeModelPREVIEWの変換を表す場合、変換されるメソッド本文を表すCodeModelPREVIEWを返します。
      戻り値:
      このコード・ビルダーが一部のCodeModelPREVIEWの変換を表す場合、変換されるメソッド本文を表すCodeModelPREVIEW
    • newLabel

      LabelPREVIEW newLabel()
      バインドされていない新しいラベルを返します。
      戻り値:
      新鮮な無限ラベル
    • startLabel

      LabelPREVIEW startLabel()
      現在のブロックの先頭に関連付けられたラベルを返します。 現在のCodeBuilderPREVIEWが"block"ビルダー(block(Consumer)またはifThenElse(Consumer, Consumer)によって提供されるものなど)ではない場合、現在のブロックはメソッド本文全体になります。
      戻り値:
      現在のブロックの先頭に関連付けられたラベル
    • endLabel

      LabelPREVIEW endLabel()
      現在のブロックの末尾に関連付けられたラベルを返します。 現在のCodeBuilderPREVIEWが"block"ビルダー(block(Consumer)またはifThenElse(Consumer, Consumer)によって提供されるものなど)ではない場合、現在のブロックはメソッド本文全体になります。
      戻り値:
      現在のブロックの末尾に関連付けられたラベル
    • receiverSlot

      int receiverSlot()
      レシーバに関連付けられたローカル変数スロットを返します。
      戻り値:
      受信側に関連付けられたローカル変数スロット
      例外:
      IllegalStateException - これが静的メソッドでない場合
    • parameterSlot

      int parameterSlot(int paramNo)
      指定されたパラメータに関連付けられたローカル変数スロットを返します。 戻り値は、レシーバ・スロット(メソッドがインスタンス・メソッドの場合)に対して調整され、longおよびdouble値には2つのスロットが必要であるという要件に対して調整されます。
      パラメータ:
      paramNo - パラメータの索引
      戻り値:
      指定されたパラメータに関連付けられたローカル変数スロット
    • allocateLocal

      int allocateLocal(TypeKindPREVIEW typeKind)
      新しいローカル変数のローカル変数スロットを返します。 このメソッドでは、どのスロットが使用中で、どのスロットが使用されていないかを判断するために合理的な努力をします。 メソッドを変換すると、新しいローカルは元のメソッドのmaxLocalsから始まります。 直接構築されるメソッドの場合、新しいローカルは最後のパラメータ・スロットのあとに始まります。

      現在のコード・ビルダーが、ブロックの最後にあるblock(Consumer)ifThen(Consumer)またはifThenElse(Consumer, Consumer)によって提供される"block"コード・ビルダーである場合、ローカルはブロックの先頭にある値にリセットされます。

      パラメータ:
      typeKind - ローカル変数の型
      戻り値:
      新しいローカル変数のローカル変数スロット
    • transforming

      default CodeBuilderPREVIEW transforming(CodeTransformPREVIEW transform, Consumer<CodeBuilderPREVIEW> handler)
      ハンドラによって構築されたコードに変換を適用し、結果をこのビルダーに指示します。
      パラメータ:
      transform - ハンドラによって構築されたコードに適用する変換
      handler - コードを作成するためにCodeBuilderPREVIEWを受け取るハンドラ。
      戻り値:
      このビルダー
    • block

      作成するメソッドに字句ブロックを追加します。

      このブロック内では、startLabel()およびendLabel()はブロックの開始と終了に対応し、CodeBuilder.BlockCodeBuilder.breakLabel()PREVIEWはブロックの終了にも対応します。

      パラメータ:
      handler - 字句ブロックの本文を生成するCodeBuilder.BlockCodeBuilderPREVIEWを受信するハンドラ。
      戻り値:
      このビルダー
    • ifThen

      オペランド・スタック上部のブール値に条件付きである"if-then"ブロックを追加します。

      "then"ブロックのCodeBuilder.BlockCodeBuilder.breakLabel()PREVIEWは、そのブロックの終わりに対応します。

      パラメータ:
      thenHandler - CodeBuilder.BlockCodeBuilderPREVIEWを受信してifの本文を生成するハンドラ
      戻り値:
      このビルダー
    • ifThen

      指定されたopcodeに従って、オペランド・スタックの上部にある値に条件付き"if-then"ブロックを追加します。

      "then"ブロックのCodeBuilder.BlockCodeBuilder.breakLabel()PREVIEWは、そのブロックの終わりに対応します。

      パラメータ:
      opcode - スタック上の1つまたは2つのオペランドを受け入れる分岐命令の操作コード
      thenHandler - CodeBuilder.BlockCodeBuilderPREVIEWを受信してifの本文を生成するハンドラ
      戻り値:
      このビルダー
      例外:
      IllegalArgumentException - 操作コードが、1つまたは2つのオペランドを受け入れる分岐命令用ではない場合
    • ifThenElse

      オペランド・スタック上部のブール値に条件付きである"if-then-else"ブロックを追加します。

      各ブロックのCodeBuilder.BlockCodeBuilder.breakLabel()PREVIEWは、"else"ブロックの終わりに対応します。

      パラメータ:
      thenHandler - CodeBuilder.BlockCodeBuilderPREVIEWを受信してifの本文を生成するハンドラ
      elseHandler - CodeBuilder.BlockCodeBuilderPREVIEWを受信してelseの本文を生成するハンドラ
      戻り値:
      このビルダー
    • ifThenElse

      指定されたopcodeに従って、オペランド・スタックの上部にある値に条件付き"if-then-else"ブロックを追加します。

      各ブロックのCodeBuilder.BlockCodeBuilder.breakLabel()PREVIEWは、"else"ブロックの終わりに対応します。

      パラメータ:
      opcode - スタック上の1つまたは2つのオペランドを受け入れる分岐命令の操作コード
      thenHandler - CodeBuilder.BlockCodeBuilderPREVIEWを受信してifの本文を生成するハンドラ
      elseHandler - CodeBuilder.BlockCodeBuilderPREVIEWを受信してelseの本文を生成するハンドラ
      戻り値:
      このビルダー
      例外:
      IllegalArgumentException - 操作コードが、1つまたは2つのオペランドを受け入れる分岐命令用ではない場合
    • trying

      1つのtryブロックと0個以上のcatchブロックで構成される"try-catch"ブロックを追加します。 tryブロック内の命令によってスローされた例外は、catchブロックによって捕捉される場合があります。
      パラメータ:
      tryHandler - tryブロックの本文を生成するCodeBuilderPREVIEWを受信するハンドラ。
      catchesHandler - catchブロックの本体を生成するCodeBuilder.CatchBuilderPREVIEWを受信するハンドラ。
      戻り値:
      このビルダー
      例外:
      IllegalArgumentException - tryブロックが空の場合。
      関連項目:
    • loadLocal

      default CodeBuilderPREVIEW loadLocal(TypeKindPREVIEW tk, int slot)
      ローカル変数から値をロードする命令を生成します。
      パラメータ:
      tk - ロード・タイプ
      slot - ローカル変数スロット
      戻り値:
      このビルダー
      導入されたバージョン:
      23
    • storeLocal

      default CodeBuilderPREVIEW storeLocal(TypeKindPREVIEW tk, int slot)
      値をローカル変数に格納する命令を生成します
      パラメータ:
      tk - ストア・タイプ
      slot - ローカル変数スロット
      戻り値:
      このビルダー
      導入されたバージョン:
      23
    • branch

      default CodeBuilderPREVIEW branch(OpcodePREVIEW op, LabelPREVIEW target)
      分岐命令の生成
      パラメータ:
      op - ブランチ・コード
      target - ブランチ・ターゲット
      戻り値:
      このビルダー
      導入されたバージョン:
      23
      関連項目:
    • return_

      default CodeBuilderPREVIEW return_(TypeKindPREVIEW tk)
      return指示の生成
      パラメータ:
      tk - 戻り値の型
      戻り値:
      このビルダー
      導入されたバージョン:
      23
    • fieldAccess

      default CodeBuilderPREVIEW fieldAccess(OpcodePREVIEW opcode, FieldRefEntryPREVIEW ref)
      フィールドにアクセスするための指示の生成
      パラメータ:
      opcode - フィールド・アクセス・コード
      ref - フィールド参照
      戻り値:
      このビルダー
      導入されたバージョン:
      23
      関連項目:
    • fieldAccess

      default CodeBuilderPREVIEW fieldAccess(OpcodePREVIEW opcode, ClassDesc owner, String name, ClassDesc type)
      フィールドにアクセスするための指示の生成
      パラメータ:
      opcode - フィールド・アクセス・コード
      owner - クラス
      name - フィールド名
      type - フィールド・タイプ
      戻り値:
      このビルダー
      導入されたバージョン:
      23
      関連項目:
    • invoke

      メソッドまたはコンストラクタを呼び出す命令の生成
      パラメータ:
      opcode - 呼出しopcode
      ref - インタフェース・メソッドまたはメソッド参照
      戻り値:
      このビルダー
      導入されたバージョン:
      23
      関連項目:
    • invoke

      default CodeBuilderPREVIEW invoke(OpcodePREVIEW opcode, ClassDesc owner, String name, MethodTypeDesc desc, boolean isInterface)
      メソッドまたはコンストラクタを呼び出す命令の生成
      パラメータ:
      opcode - 呼出しopcode
      owner - クラス
      name - メソッド名
      desc - メソッドの型
      isInterface - インタフェース・メソッド呼出しの表示
      戻り値:
      このビルダー
      導入されたバージョン:
      23
      関連項目:
    • arrayLoad

      default CodeBuilderPREVIEW arrayLoad(TypeKindPREVIEW tk)
      配列からロードする命令の生成
      パラメータ:
      tk - 配列要素タイプ
      戻り値:
      このビルダー
      導入されたバージョン:
      23
    • arrayStore

      default CodeBuilderPREVIEW arrayStore(TypeKindPREVIEW tk)
      配列に格納する命令の生成
      パラメータ:
      tk - 配列要素タイプ
      戻り値:
      このビルダー
      導入されたバージョン:
      23
    • conversion

      default CodeBuilderPREVIEW conversion(TypeKindPREVIEW fromType, TypeKindPREVIEW toType)
      fromTypetoTypeに変換する指示を生成
      パラメータ:
      fromType - ソース型
      toType - ターゲット型
      戻り値:
      このビルダー
      例外:
      IllegalArgumentException - VoidTypeまたはReferenceTypeの変換用
      導入されたバージョン:
      23
    • loadConstant

      default CodeBuilderPREVIEW loadConstant(OpcodePREVIEW opcode, ConstantDesc value)
      定数をオペランド・スタックにプッシュする命令を生成します
      パラメータ:
      opcode - 定数の命令opcode
      value - 定数値
      戻り値:
      このビルダー
      導入されたバージョン:
      23
      関連項目:
    • loadConstant

      default CodeBuilderPREVIEW loadConstant(ConstantDesc value)
      定数をオペランド・スタックにプッシュする命令を生成します
      パラメータ:
      value - 定数値
      戻り値:
      このビルダー
      導入されたバージョン:
      23
    • nop

      default CodeBuilderPREVIEW nop()
      do nothing命令の生成
      戻り値:
      このビルダー
    • newBoundLabel

      default LabelPREVIEW newBoundLabel()
      現在の位置でバインドされた新しいラベルを作成
      戻り値:
      このビルダー
    • labelBinding

      default CodeBuilderPREVIEW labelBinding(LabelPREVIEW label)
      ラベルを現在の位置にバインド
      パラメータ:
      label - ラベル
      戻り値:
      このビルダー
    • lineNumber

      default CodeBuilderPREVIEW lineNumber(int line)
      現在のビルダー位置のソース行番号を宣言します
      パラメータ:
      line - 行番号
      戻り値:
      このビルダー
    • exceptionCatch

      default CodeBuilderPREVIEW exceptionCatch(LabelPREVIEW start, LabelPREVIEW end, LabelPREVIEW handler, ClassEntryPREVIEW catchType)
      例外表エントリの宣言
      パラメータ:
      start - tryブロックの開始
      end - tryブロックの終了
      handler - 例外ハンドラの起動
      catchType - すべての例外およびエラーを捕捉するためのcatchタイプまたはnull
      戻り値:
      このビルダー
    • exceptionCatch

      default CodeBuilderPREVIEW exceptionCatch(LabelPREVIEW start, LabelPREVIEW end, LabelPREVIEW handler, Optional<ClassEntryPREVIEW> catchType)
      例外表エントリの宣言
      パラメータ:
      start - tryブロックの開始
      end - tryブロックの終了
      handler - 例外ハンドラの起動
      catchType - オプションのcatchタイプ。すべての例外およびエラーを捕捉する場合は空
      戻り値:
      このビルダー
    • exceptionCatch

      default CodeBuilderPREVIEW exceptionCatch(LabelPREVIEW start, LabelPREVIEW end, LabelPREVIEW handler, ClassDesc catchType)
      例外表エントリの宣言
      パラメータ:
      start - tryブロックの開始
      end - tryブロックの終了
      handler - 例外ハンドラの起動
      catchType - catch型
      戻り値:
      このビルダー
    • exceptionCatchAll

      default CodeBuilderPREVIEW exceptionCatchAll(LabelPREVIEW start, LabelPREVIEW end, LabelPREVIEW handler)
      すべての例外およびエラーを捕捉する例外表エントリを宣言します。
      パラメータ:
      start - tryブロックの開始
      end - tryブロックの終了
      handler - 例外ハンドラの起動
      戻り値:
      このビルダー
    • characterRange

      default CodeBuilderPREVIEW characterRange(LabelPREVIEW startScope, LabelPREVIEW endScope, int characterRangeStart, int characterRangeEnd, int flags)
      文字範囲エントリを宣言します
      パラメータ:
      startScope - 文字範囲の開始スコープ
      endScope - 文字範囲の終了スコープ
      characterRangeStart - 文字範囲リージョン(包含)のエンコードされた開始
      characterRangeEnd - 文字範囲リージョン(除外)のエンコードされた終了
      flags - 範囲の種類を示すフラグ・ワード
      戻り値:
      このビルダー
    • localVariable

      default CodeBuilderPREVIEW localVariable(int slot, Utf8EntryPREVIEW nameEntry, Utf8EntryPREVIEW descriptorEntry, LabelPREVIEW startScope, LabelPREVIEW endScope)
      ローカル変数エントリを宣言します
      パラメータ:
      slot - ローカル変数スロット
      nameEntry - 変数名
      descriptorEntry - 変数記述子
      startScope - 変数の開始スコープ
      endScope - 変数の終了スコープ
      戻り値:
      このビルダー
    • localVariable

      default CodeBuilderPREVIEW localVariable(int slot, String name, ClassDesc descriptor, LabelPREVIEW startScope, LabelPREVIEW endScope)
      ローカル変数エントリを宣言します
      パラメータ:
      slot - ローカル変数スロット
      name - 変数名
      descriptor - 変数記述子
      startScope - 変数の開始スコープ
      endScope - 変数の終了スコープ
      戻り値:
      このビルダー
    • localVariableType

      default CodeBuilderPREVIEW localVariableType(int slot, Utf8EntryPREVIEW nameEntry, Utf8EntryPREVIEW signatureEntry, LabelPREVIEW startScope, LabelPREVIEW endScope)
      ローカル変数型エントリの宣言
      パラメータ:
      slot - ローカル変数スロット
      nameEntry - 変数名
      signatureEntry - 変数シグネチャ
      startScope - 変数の開始スコープ
      endScope - 変数の終了スコープ
      戻り値:
      このビルダー
    • localVariableType

      default CodeBuilderPREVIEW localVariableType(int slot, String name, SignaturePREVIEW signature, LabelPREVIEW startScope, LabelPREVIEW endScope)
      ローカル変数型エントリの宣言
      パラメータ:
      slot - ローカル変数スロット
      name - 変数名
      signature - 変数シグネチャ
      startScope - 変数の開始スコープ
      endScope - 変数の終了スコープ
      戻り値:
      このビルダー
    • aconst_null

      default CodeBuilderPREVIEW aconst_null()
      nullオブジェクト参照をオペランド・スタックにプッシュする命令を生成します
      戻り値:
      このビルダー
    • aaload

      default CodeBuilderPREVIEW aaload()
      配列から参照をロードする命令を生成します。
      戻り値:
      このビルダー
    • aastore

      default CodeBuilderPREVIEW aastore()
      参照配列に格納する命令の生成
      戻り値:
      このビルダー
    • aload

      default CodeBuilderPREVIEW aload(int slot)
      ローカル変数から参照をロードする命令を生成します。
      パラメータ:
      slot - ローカル変数スロット
      戻り値:
      このビルダー
    • anewarray

      default CodeBuilderPREVIEW anewarray(ClassEntryPREVIEW classEntry)
      新しい参照配列を作成する命令を生成します
      パラメータ:
      classEntry - コンポーネント・タイプ
      戻り値:
      このビルダー
    • anewarray

      default CodeBuilderPREVIEW anewarray(ClassDesc className)
      新しい参照配列を作成する命令を生成します
      パラメータ:
      className - コンポーネント・タイプ
      戻り値:
      このビルダー
      例外:
      IllegalArgumentException - classNameがプリミティブ型を表す場合
    • areturn

      default CodeBuilderPREVIEW areturn()
      メソッドから参照を返す命令を生成します。
      戻り値:
      このビルダー
    • arraylength

      default CodeBuilderPREVIEW arraylength()
      配列の長さを取得する命令を生成します
      戻り値:
      このビルダー
    • astore

      default CodeBuilderPREVIEW astore(int slot)
      参照をローカル変数に格納する命令を生成します
      パラメータ:
      slot - ローカル変数スロット
      戻り値:
      このビルダー
    • athrow

      default CodeBuilderPREVIEW athrow()
      例外またはエラーをスローする命令の生成
      戻り値:
      このビルダー
    • baload

      default CodeBuilderPREVIEW baload()
      配列からバイトをロードする命令を生成します
      戻り値:
      このビルダー
    • bastore

      default CodeBuilderPREVIEW bastore()
      バイト配列に格納する命令の生成
      戻り値:
      このビルダー
    • bipush

      default CodeBuilderPREVIEW bipush(int b)
      オペランド・スタックにバイトをプッシュする命令を生成します
      パラメータ:
      b - バイト
      戻り値:
      このビルダー
    • caload

      default CodeBuilderPREVIEW caload()
      配列からcharをロードする命令を生成します。
      戻り値:
      このビルダー
    • castore

      default CodeBuilderPREVIEW castore()
      char配列に格納する命令の生成
      戻り値:
      このビルダー
    • checkcast

      default CodeBuilderPREVIEW checkcast(ClassEntryPREVIEW type)
      オブジェクトが指定されたタイプかどうかをチェックする命令を生成します
      パラメータ:
      type - オブジェクト型
      戻り値:
      このビルダー
    • checkcast

      default CodeBuilderPREVIEW checkcast(ClassDesc type)
      オブジェクトが指定されたタイプかどうかをチェックする命令を生成します
      パラメータ:
      type - オブジェクト型
      戻り値:
      このビルダー
      例外:
      IllegalArgumentException - typeがプリミティブ型を表す場合
    • d2f

      default CodeBuilderPREVIEW d2f()
      doubleをfloatに変換する命令を生成します。
      戻り値:
      このビルダー
    • d2i

      default CodeBuilderPREVIEW d2i()
      doubleをintに変換する命令を生成します。
      戻り値:
      このビルダー
    • d2l

      default CodeBuilderPREVIEW d2l()
      doubleをlongに変換する命令を生成します。
      戻り値:
      このビルダー
    • dadd

      default CodeBuilderPREVIEW dadd()
      doubleを追加する命令の生成
      戻り値:
      このビルダー
    • daload

      default CodeBuilderPREVIEW daload()
      配列からdoubleをロードする命令を生成します。
      戻り値:
      このビルダー
    • dastore

      default CodeBuilderPREVIEW dastore()
      二重配列に格納する命令の生成
      戻り値:
      このビルダー
    • dcmpg

      default CodeBuilderPREVIEW dcmpg()
      doubleを追加する命令の生成
      戻り値:
      このビルダー
    • dcmpl

      default CodeBuilderPREVIEW dcmpl()
      ダブルを比較する命令の生成
      戻り値:
      このビルダー
    • dconst_0

      default CodeBuilderPREVIEW dconst_0()
      二重定数0をオペランド・スタックにプッシュする命令を生成します
      戻り値:
      このビルダー
    • dconst_1

      default CodeBuilderPREVIEW dconst_1()
      二重定数1をオペランド・スタックにプッシュする命令を生成します
      戻り値:
      このビルダー
    • ddiv

      default CodeBuilderPREVIEW ddiv()
      ダブルを分割する命令の生成
      戻り値:
      このビルダー
    • dload

      default CodeBuilderPREVIEW dload(int slot)
      ローカル変数からdoubleをロードする命令を生成します。
      パラメータ:
      slot - ローカル変数スロット
      戻り値:
      このビルダー
    • dmul

      default CodeBuilderPREVIEW dmul()
      倍増する命令を生成する
      戻り値:
      このビルダー
    • dneg

      default CodeBuilderPREVIEW dneg()
      doubleを否定する命令の生成
      戻り値:
      このビルダー
    • drem

      default CodeBuilderPREVIEW drem()
      二重剰余を計算するための指示の生成
      戻り値:
      このビルダー
    • dreturn

      default CodeBuilderPREVIEW dreturn()
      メソッドからdoubleを返す命令を生成します。
      戻り値:
      このビルダー
    • dstore

      default CodeBuilderPREVIEW dstore(int slot)
      doubleをローカル変数に格納する命令を生成します。
      パラメータ:
      slot - ローカル変数スロット
      戻り値:
      このビルダー
    • dsub

      default CodeBuilderPREVIEW dsub()
      ダブルを減算する命令の生成
      戻り値:
      このビルダー
    • dup

      default CodeBuilderPREVIEW dup()
      上位オペランド・スタック値を複製する命令の生成
      戻り値:
      このビルダー
    • dup2

      default CodeBuilderPREVIEW dup2()
      上位1つまたは2つのオペランド・スタック値を複製する命令の生成
      戻り値:
      このビルダー
    • dup2_x1

      default CodeBuilderPREVIEW dup2_x1()
      上位1つまたは2つのオペランド・スタック値を複製し、2つまたは3つの値を下に挿入する命令を生成します。
      戻り値:
      このビルダー
    • dup2_x2

      default CodeBuilderPREVIEW dup2_x2()
      上位1つまたは2つのオペランド・スタック値を複製し、2、3または4つの値を下に挿入する命令を生成します。
      戻り値:
      このビルダー
    • dup_x1

      default CodeBuilderPREVIEW dup_x1()
      上位オペランド・スタック値を複製して2つの値を下に挿入する命令を生成します
      戻り値:
      このビルダー
    • dup_x2

      default CodeBuilderPREVIEW dup_x2()
      上部のオペランド・スタック値を複製し、2つまたは3つの値を下に挿入する命令を生成します。
      戻り値:
      このビルダー
    • f2d

      default CodeBuilderPREVIEW f2d()
      floatをdoubleに変換する命令を生成します。
      戻り値:
      このビルダー
    • f2i

      default CodeBuilderPREVIEW f2i()
      floatをintに変換する命令を生成します。
      戻り値:
      このビルダー
    • f2l

      default CodeBuilderPREVIEW f2l()
      floatをlongに変換する命令を生成します。
      戻り値:
      このビルダー
    • fadd

      default CodeBuilderPREVIEW fadd()
      floatを追加する命令の生成
      戻り値:
      このビルダー
    • faload

      default CodeBuilderPREVIEW faload()
      配列からfloatをロードする命令を生成します。
      戻り値:
      このビルダー
    • fastore

      default CodeBuilderPREVIEW fastore()
      float配列に格納する命令の生成
      戻り値:
      このビルダー
    • fcmpg

      default CodeBuilderPREVIEW fcmpg()
      フロートを比較する命令を生成します
      戻り値:
      このビルダー
    • fcmpl

      default CodeBuilderPREVIEW fcmpl()
      フロートを比較する命令を生成します
      戻り値:
      このビルダー
    • fconst_0

      default CodeBuilderPREVIEW fconst_0()
      浮動小数点定数0をオペランド・スタックにプッシュする命令を生成します
      戻り値:
      このビルダー
    • fconst_1

      default CodeBuilderPREVIEW fconst_1()
      浮動小数点定数1をオペランド・スタックにプッシュする命令を生成します
      戻り値:
      このビルダー
    • fconst_2

      default CodeBuilderPREVIEW fconst_2()
      浮動小数点定数2をオペランド・スタックにプッシュする命令を生成します
      戻り値:
      このビルダー
    • fdiv

      default CodeBuilderPREVIEW fdiv()
      フロートを分割する命令を生成します
      戻り値:
      このビルダー
    • fload

      default CodeBuilderPREVIEW fload(int slot)
      ローカル変数からfloatをロードする命令を生成します。
      パラメータ:
      slot - ローカル変数スロット
      戻り値:
      このビルダー
    • fmul

      default CodeBuilderPREVIEW fmul()
      浮動小数を乗算する命令の生成
      戻り値:
      このビルダー
    • fneg

      default CodeBuilderPREVIEW fneg()
      floatを否定する命令の生成
      戻り値:
      このビルダー
    • frem

      default CodeBuilderPREVIEW frem()
      フロート残余を計算するための指示を生成します
      戻り値:
      このビルダー
    • freturn

      default CodeBuilderPREVIEW freturn()
      メソッドからfloatを返す命令を生成します。
      戻り値:
      このビルダー
    • fstore

      default CodeBuilderPREVIEW fstore(int slot)
      フロートをローカル変数に格納する命令を生成します
      パラメータ:
      slot - ローカル変数スロット
      戻り値:
      このビルダー
    • fsub

      default CodeBuilderPREVIEW fsub()
      浮動小数を減算する命令の生成
      戻り値:
      このビルダー
    • getfield

      default CodeBuilderPREVIEW getfield(FieldRefEntryPREVIEW ref)
      オブジェクトからフィールドをフェッチする命令の生成
      パラメータ:
      ref - フィールド参照
      戻り値:
      このビルダー
    • getfield

      default CodeBuilderPREVIEW getfield(ClassDesc owner, String name, ClassDesc type)
      オブジェクトからフィールドをフェッチする命令の生成
      パラメータ:
      owner - 所有者クラス
      name - フィールド名
      type - フィールド・タイプ
      戻り値:
      このビルダー
      例外:
      IllegalArgumentException - ownerがプリミティブ型を表す場合
    • getstatic

      default CodeBuilderPREVIEW getstatic(FieldRefEntryPREVIEW ref)
      クラスから静的フィールドを取得する命令を生成します
      パラメータ:
      ref - フィールド参照
      戻り値:
      このビルダー
    • getstatic

      default CodeBuilderPREVIEW getstatic(ClassDesc owner, String name, ClassDesc type)
      クラスから静的フィールドを取得する命令を生成します
      パラメータ:
      owner - 所有者クラス
      name - フィールド名
      type - フィールド・タイプ
      戻り値:
      このビルダー
      例外:
      IllegalArgumentException - ownerがプリミティブ型を表す場合
    • goto_

      default CodeBuilderPREVIEW goto_(LabelPREVIEW target)
      常に分岐する命令の生成
      パラメータ:
      target - ブランチ・ターゲット
      戻り値:
      このビルダー
    • goto_w

      default CodeBuilderPREVIEW goto_w(LabelPREVIEW target)
      常にワイド・インデックスで分岐する命令を生成する
      パラメータ:
      target - ブランチ・ターゲット
      戻り値:
      このビルダー
    • i2b

      default CodeBuilderPREVIEW i2b()
      intをバイトに変換する命令を生成します。
      戻り値:
      このビルダー
    • i2c

      default CodeBuilderPREVIEW i2c()
      intをcharに変換する命令を生成します。
      戻り値:
      このビルダー
    • i2d

      default CodeBuilderPREVIEW i2d()
      intをdoubleに変換する命令を生成します。
      戻り値:
      このビルダー
    • i2f

      default CodeBuilderPREVIEW i2f()
      intをfloatに変換する命令を生成します。
      戻り値:
      このビルダー
    • i2l

      default CodeBuilderPREVIEW i2l()
      intをlongに変換する命令を生成します。
      戻り値:
      このビルダー
    • i2s

      default CodeBuilderPREVIEW i2s()
      intをshortに変換する命令を生成します。
      戻り値:
      このビルダー
    • iadd

      default CodeBuilderPREVIEW iadd()
      intを追加する命令の生成
      戻り値:
      このビルダー
    • iaload

      default CodeBuilderPREVIEW iaload()
      配列からintをロードする命令を生成します。
      戻り値:
      このビルダー
    • iand

      default CodeBuilderPREVIEW iand()
      intsのブールANDを計算する命令を生成します
      戻り値:
      このビルダー
    • iastore

      default CodeBuilderPREVIEW iastore()
      int配列に格納する命令の生成
      戻り値:
      このビルダー
    • iconst_0

      default CodeBuilderPREVIEW iconst_0()
      int定数0をオペランド・スタックにプッシュする命令を生成します
      戻り値:
      このビルダー
    • iconst_1

      default CodeBuilderPREVIEW iconst_1()
      int定数1をオペランド・スタックにプッシュする命令を生成します
      戻り値:
      このビルダー
    • iconst_2

      default CodeBuilderPREVIEW iconst_2()
      int定数2をオペランド・スタックにプッシュする命令を生成します
      戻り値:
      このビルダー
    • iconst_3

      default CodeBuilderPREVIEW iconst_3()
      int定数3をオペランド・スタックにプッシュする命令を生成します
      戻り値:
      このビルダー
    • iconst_4

      default CodeBuilderPREVIEW iconst_4()
      int定数4をオペランド・スタックにプッシュする命令を生成します
      戻り値:
      このビルダー
    • iconst_5

      default CodeBuilderPREVIEW iconst_5()
      int定数5をオペランド・スタックにプッシュする命令を生成します
      戻り値:
      このビルダー
    • iconst_m1

      default CodeBuilderPREVIEW iconst_m1()
      int定数 -1をオペランド・スタックにプッシュする命令を生成します
      戻り値:
      このビルダー
    • idiv

      default CodeBuilderPREVIEW idiv()
      intsを分割する命令の生成
      戻り値:
      このビルダー
    • if_acmpeq

      default CodeBuilderPREVIEW if_acmpeq(LabelPREVIEW target)
      参照比較が成功した場合に分岐する命令を生成する
      パラメータ:
      target - ブランチ・ターゲット
      戻り値:
      このビルダー
    • if_acmpne

      default CodeBuilderPREVIEW if_acmpne(LabelPREVIEW target)
      参照比較が成功した場合に分岐する命令を生成する
      パラメータ:
      target - ブランチ・ターゲット
      戻り値:
      このビルダー
    • if_icmpeq

      default CodeBuilderPREVIEW if_icmpeq(LabelPREVIEW target)
      int比較が成功した場合に分岐する命令を生成する
      パラメータ:
      target - ブランチ・ターゲット
      戻り値:
      このビルダー
    • if_icmpge

      default CodeBuilderPREVIEW if_icmpge(LabelPREVIEW target)
      int比較が成功した場合に分岐する命令を生成する
      パラメータ:
      target - ブランチ・ターゲット
      戻り値:
      このビルダー
    • if_icmpgt

      default CodeBuilderPREVIEW if_icmpgt(LabelPREVIEW target)
      int比較が成功した場合に分岐する命令を生成する
      パラメータ:
      target - ブランチ・ターゲット
      戻り値:
      このビルダー
    • if_icmple

      default CodeBuilderPREVIEW if_icmple(LabelPREVIEW target)
      int比較が成功した場合に分岐する命令を生成する
      パラメータ:
      target - ブランチ・ターゲット
      戻り値:
      このビルダー
    • if_icmplt

      default CodeBuilderPREVIEW if_icmplt(LabelPREVIEW target)
      int比較が成功した場合に分岐する命令を生成する
      パラメータ:
      target - ブランチ・ターゲット
      戻り値:
      このビルダー
    • if_icmpne

      default CodeBuilderPREVIEW if_icmpne(LabelPREVIEW target)
      int比較が成功した場合に分岐する命令を生成する
      パラメータ:
      target - ブランチ・ターゲット
      戻り値:
      このビルダー
    • if_nonnull

      default CodeBuilderPREVIEW if_nonnull(LabelPREVIEW target)
      参照がnullでない場合、分岐する指示を生成します
      パラメータ:
      target - ブランチ・ターゲット
      戻り値:
      このビルダー
    • if_null

      default CodeBuilderPREVIEW if_null(LabelPREVIEW target)
      参照がnullの場合、分岐する指示を生成します
      パラメータ:
      target - ブランチ・ターゲット
      戻り値:
      このビルダー
    • ifeq

      default CodeBuilderPREVIEW ifeq(LabelPREVIEW target)
      ゼロとのint比較が成功した場合、分岐する命令を生成します。
      パラメータ:
      target - ブランチ・ターゲット
      戻り値:
      このビルダー
    • ifge

      default CodeBuilderPREVIEW ifge(LabelPREVIEW target)
      ゼロとのint比較が成功した場合、分岐する命令を生成します。
      パラメータ:
      target - ブランチ・ターゲット
      戻り値:
      このビルダー
    • ifgt

      default CodeBuilderPREVIEW ifgt(LabelPREVIEW target)
      ゼロとのint比較が成功した場合、分岐する命令を生成します。
      パラメータ:
      target - ブランチ・ターゲット
      戻り値:
      このビルダー
    • ifle

      default CodeBuilderPREVIEW ifle(LabelPREVIEW target)
      ゼロとのint比較が成功した場合、分岐する命令を生成します。
      パラメータ:
      target - ブランチ・ターゲット
      戻り値:
      このビルダー
    • iflt

      default CodeBuilderPREVIEW iflt(LabelPREVIEW target)
      ゼロとのint比較が成功した場合、分岐する命令を生成します。
      パラメータ:
      target - ブランチ・ターゲット
      戻り値:
      このビルダー
    • ifne

      default CodeBuilderPREVIEW ifne(LabelPREVIEW target)
      ゼロとのint比較が成功した場合、分岐する命令を生成します。
      パラメータ:
      target - ブランチ・ターゲット
      戻り値:
      このビルダー
    • iinc

      default CodeBuilderPREVIEW iinc(int slot, int val)
      ローカル変数を定数で増分する命令を生成します。
      パラメータ:
      slot - ローカル変数スロット
      val - インクリメント値
      戻り値:
      このビルダー
    • iload

      default CodeBuilderPREVIEW iload(int slot)
      ローカル変数からintをロードする命令を生成します。
      パラメータ:
      slot - ローカル変数スロット
      戻り値:
      このビルダー
    • imul

      default CodeBuilderPREVIEW imul()
      intsを乗算する命令の生成
      戻り値:
      このビルダー
    • ineg

      default CodeBuilderPREVIEW ineg()
      intを否定する命令の生成
      戻り値:
      このビルダー
    • instanceOf

      default CodeBuilderPREVIEW instanceOf(ClassEntryPREVIEW target)
      オブジェクトが指定されたタイプであるかどうかを判断するための命令を生成します。
      パラメータ:
      target - ターゲット型
      戻り値:
      このビルダー
      導入されたバージョン:
      23
    • instanceOf

      default CodeBuilderPREVIEW instanceOf(ClassDesc target)
      オブジェクトが指定されたタイプであるかどうかを判断するための命令を生成します。
      パラメータ:
      target - ターゲット型
      戻り値:
      このビルダー
      例外:
      IllegalArgumentException - targetがプリミティブ型を表す場合
      導入されたバージョン:
      23
    • invokedynamic

      default CodeBuilderPREVIEW invokedynamic(InvokeDynamicEntryPREVIEW ref)
      動的に計算されたコール・サイトを起動する命令を生成します。
      パラメータ:
      ref - 動的コール・サイト
      戻り値:
      このビルダー
    • invokedynamic

      default CodeBuilderPREVIEW invokedynamic(DynamicCallSiteDesc ref)
      動的に計算されたコール・サイトを起動する命令を生成します。
      パラメータ:
      ref - 動的コール・サイト
      戻り値:
      このビルダー
    • invokeinterface

      default CodeBuilderPREVIEW invokeinterface(InterfaceMethodRefEntryPREVIEW ref)
      インタフェース・メソッドを起動する命令の生成
      パラメータ:
      ref - インタフェース・メソッド参照
      戻り値:
      このビルダー
    • invokeinterface

      default CodeBuilderPREVIEW invokeinterface(ClassDesc owner, String name, MethodTypeDesc type)
      インタフェース・メソッドを起動する命令の生成
      パラメータ:
      owner - 所有者クラス
      name - メソッド名
      type - メソッドの型
      戻り値:
      このビルダー
      例外:
      IllegalArgumentException - ownerがプリミティブ型を表す場合
    • invokespecial

      インスタンス・メソッドを起動する命令を生成します。現在のクラスとそのスーパータイプのインスタンス初期化メソッドとメソッドを直接起動します。
      パラメータ:
      ref - インタフェース・メソッド参照
      戻り値:
      このビルダー
    • invokespecial

      default CodeBuilderPREVIEW invokespecial(MethodRefEntryPREVIEW ref)
      インスタンス・メソッドを起動する命令を生成します。現在のクラスとそのスーパータイプのインスタンス初期化メソッドとメソッドを直接起動します。
      パラメータ:
      ref - メソッド参照
      戻り値:
      このビルダー
    • invokespecial

      default CodeBuilderPREVIEW invokespecial(ClassDesc owner, String name, MethodTypeDesc type)
      インスタンス・メソッドを起動する命令を生成します。現在のクラスとそのスーパータイプのインスタンス初期化メソッドとメソッドを直接起動します。
      パラメータ:
      owner - 所有者クラス
      name - メソッド名
      type - メソッドの型
      戻り値:
      このビルダー
      例外:
      IllegalArgumentException - ownerがプリミティブ型を表す場合
    • invokespecial

      default CodeBuilderPREVIEW invokespecial(ClassDesc owner, String name, MethodTypeDesc type, boolean isInterface)
      インスタンス・メソッドを起動する命令を生成します。現在のクラスとそのスーパータイプのインスタンス初期化メソッドとメソッドを直接起動します。
      パラメータ:
      owner - 所有者クラス
      name - メソッド名
      type - メソッドの型
      isInterface - インタフェース・メソッド呼出しの表示
      戻り値:
      このビルダー
      例外:
      IllegalArgumentException - ownerがプリミティブ型を表す場合
    • invokestatic

      クラス(static)メソッドを起動する命令を生成します。
      パラメータ:
      ref - インタフェース・メソッド参照
      戻り値:
      このビルダー
    • invokestatic

      default CodeBuilderPREVIEW invokestatic(MethodRefEntryPREVIEW ref)
      クラス(static)メソッドを起動する命令を生成します。
      パラメータ:
      ref - メソッド参照
      戻り値:
      このビルダー
    • invokestatic

      default CodeBuilderPREVIEW invokestatic(ClassDesc owner, String name, MethodTypeDesc type)
      クラス(static)メソッドを起動する命令を生成します。
      パラメータ:
      owner - 所有者クラス
      name - メソッド名
      type - メソッドの型
      戻り値:
      このビルダー
      例外:
      IllegalArgumentException - ownerがプリミティブ型を表す場合
    • invokestatic

      default CodeBuilderPREVIEW invokestatic(ClassDesc owner, String name, MethodTypeDesc type, boolean isInterface)
      クラス(static)メソッドを起動する命令を生成します。
      パラメータ:
      owner - 所有者クラス
      name - メソッド名
      type - メソッドの型
      isInterface - インタフェース・メソッド呼出しの表示
      戻り値:
      このビルダー
      例外:
      IllegalArgumentException - ownerがプリミティブ型を表す場合
    • invokevirtual

      default CodeBuilderPREVIEW invokevirtual(MethodRefEntryPREVIEW ref)
      インスタンス・メソッドを起動する命令を生成します。クラスに基づいてディスパッチします。
      パラメータ:
      ref - メソッド参照
      戻り値:
      このビルダー
    • invokevirtual

      default CodeBuilderPREVIEW invokevirtual(ClassDesc owner, String name, MethodTypeDesc type)
      インスタンス・メソッドを起動する命令を生成します。クラスに基づいてディスパッチします。
      パラメータ:
      owner - 所有者クラス
      name - メソッド名
      type - メソッドの型
      戻り値:
      このビルダー
      例外:
      IllegalArgumentException - ownerがプリミティブ型を表す場合
    • ior

      default CodeBuilderPREVIEW ior()
      intsのブールORを計算する命令を生成します。
      戻り値:
      このビルダー
    • irem

      default CodeBuilderPREVIEW irem()
      ints残余を計算する指示の生成
      戻り値:
      このビルダー
    • ireturn

      default CodeBuilderPREVIEW ireturn()
      メソッドからintを返す命令を生成します。
      戻り値:
      このビルダー
    • ishl

      default CodeBuilderPREVIEW ishl()
      intを左にシフトする命令を生成します
      戻り値:
      このビルダー
    • ishr

      default CodeBuilderPREVIEW ishr()
      intを右にシフトする命令の生成
      戻り値:
      このビルダー
    • istore

      default CodeBuilderPREVIEW istore(int slot)
      intをローカル変数に格納する命令を生成します。
      パラメータ:
      slot - ローカル変数スロット
      戻り値:
      このビルダー
    • isub

      default CodeBuilderPREVIEW isub()
      intsを減算する命令の生成
      戻り値:
      このビルダー
    • iushr

      default CodeBuilderPREVIEW iushr()
      intを論理的にシフトする命令を生成する
      戻り値:
      このビルダー
    • ixor

      default CodeBuilderPREVIEW ixor()
      intsのブールXORを計算する命令を生成します
      戻り値:
      このビルダー
    • lookupswitch

      default CodeBuilderPREVIEW lookupswitch(LabelPREVIEW defaultTarget, List<SwitchCasePREVIEW> cases)
      キーの一致およびジャンプによってジャンプ表にアクセスするための指示を生成します
      パラメータ:
      defaultTarget - デフォルトのジャンプ・ターゲット
      cases - スイッチ・ケース
      戻り値:
      このビルダー
    • l2d

      default CodeBuilderPREVIEW l2d()
      longをdoubleに変換する命令の生成
      戻り値:
      このビルダー
    • l2f

      default CodeBuilderPREVIEW l2f()
      longをfloatに変換する命令を生成します。
      戻り値:
      このビルダー
    • l2i

      default CodeBuilderPREVIEW l2i()
      longをintに変換する命令を生成します。
      戻り値:
      このビルダー
    • ladd

      default CodeBuilderPREVIEW ladd()
      longを追加する命令の生成
      戻り値:
      このビルダー
    • laload

      default CodeBuilderPREVIEW laload()
      配列からlongをロードする命令の生成
      戻り値:
      このビルダー
    • land

      default CodeBuilderPREVIEW land()
      longのブールANDを計算する命令の生成
      戻り値:
      このビルダー
    • lastore

      default CodeBuilderPREVIEW lastore()
      long配列に格納する命令の生成
      戻り値:
      このビルダー
    • lcmp

      default CodeBuilderPREVIEW lcmp()
      longを比較する指示の生成
      戻り値:
      このビルダー
    • lconst_0

      default CodeBuilderPREVIEW lconst_0()
      long定数0をオペランド・スタックにプッシュする命令を生成します
      戻り値:
      このビルダー
    • lconst_1

      default CodeBuilderPREVIEW lconst_1()
      long定数1をオペランド・スタックにプッシュする命令を生成します
      戻り値:
      このビルダー
    • ldc

      default CodeBuilderPREVIEW ldc(ConstantDesc value)
      ランタイム定数プールからオペランド・スタックに項目をプッシュする命令を生成します
      パラメータ:
      value - 定数値
      戻り値:
      このビルダー
    • ldc

      ランタイム定数プールからオペランド・スタックに項目をプッシュする命令を生成します
      パラメータ:
      entry - 定数値
      戻り値:
      このビルダー
    • ldiv

      default CodeBuilderPREVIEW ldiv()
      longsを分割する命令の生成
      戻り値:
      このビルダー
    • lload

      default CodeBuilderPREVIEW lload(int slot)
      ローカル変数からlongをロードする命令を生成します。
      パラメータ:
      slot - ローカル変数スロット
      戻り値:
      このビルダー
    • lmul

      default CodeBuilderPREVIEW lmul()
      longを乗算する命令の生成
      戻り値:
      このビルダー
    • lneg

      default CodeBuilderPREVIEW lneg()
      longを否定する命令の生成
      戻り値:
      このビルダー
    • lor

      default CodeBuilderPREVIEW lor()
      longのブールORを計算する命令を生成します。
      戻り値:
      このビルダー
    • lrem

      default CodeBuilderPREVIEW lrem()
      long残余を計算するための指示の生成
      戻り値:
      このビルダー
    • lreturn

      default CodeBuilderPREVIEW lreturn()
      メソッドからlongを返す命令を生成します。
      戻り値:
      このビルダー
    • lshl

      default CodeBuilderPREVIEW lshl()
      long leftをシフトする指示を生成します
      戻り値:
      このビルダー
    • lshr

      default CodeBuilderPREVIEW lshr()
      long rightにシフトする指示を生成します
      戻り値:
      このビルダー
    • lstore

      default CodeBuilderPREVIEW lstore(int slot)
      longをローカル変数に格納する命令の生成
      パラメータ:
      slot - ローカル変数スロット
      戻り値:
      このビルダー
    • lsub

      default CodeBuilderPREVIEW lsub()
      longを減算する指示の生成
      戻り値:
      このビルダー
    • lushr

      default CodeBuilderPREVIEW lushr()
      long leftを論理シフトする命令を生成します
      戻り値:
      このビルダー
    • lxor

      default CodeBuilderPREVIEW lxor()
      longのブールXORを計算する命令を生成します
      戻り値:
      このビルダー
    • monitorenter

      default CodeBuilderPREVIEW monitorenter()
      オブジェクトのモニターを入力する指示の生成
      戻り値:
      このビルダー
    • monitorexit

      default CodeBuilderPREVIEW monitorexit()
      オブジェクトのモニターを終了する命令を生成します
      戻り値:
      このビルダー
    • multianewarray

      default CodeBuilderPREVIEW multianewarray(ClassEntryPREVIEW array, int dims)
      新しい多次元配列を作成する命令の生成
      パラメータ:
      array - 配列タイプ
      dims - ディメンションの数
      戻り値:
      このビルダー
    • multianewarray

      default CodeBuilderPREVIEW multianewarray(ClassDesc array, int dims)
      新しい多次元配列を作成する命令の生成
      パラメータ:
      array - 配列タイプ
      dims - ディメンションの数
      戻り値:
      このビルダー
      例外:
      IllegalArgumentException - arrayがプリミティブ型を表す場合
    • new_

      default CodeBuilderPREVIEW new_(ClassEntryPREVIEW clazz)
      新規オブジェクトを作成する命令の生成
      パラメータ:
      clazz - 新しいクラス・タイプ
      戻り値:
      このビルダー
    • new_

      default CodeBuilderPREVIEW new_(ClassDesc clazz)
      新規オブジェクトを作成する命令の生成
      パラメータ:
      clazz - 新しいクラス・タイプ
      戻り値:
      このビルダー
      例外:
      IllegalArgumentException - clazzがプリミティブ型を表す場合
    • newarray

      default CodeBuilderPREVIEW newarray(TypeKindPREVIEW typeKind)
      プリミティブ型の新しい配列を作成する命令を生成します。
      パラメータ:
      typeKind - プリミティブ配列型
      戻り値:
      このビルダー
    • pop

      default CodeBuilderPREVIEW pop()
      上位オペランド・スタック値をポップする命令の生成
      戻り値:
      このビルダー
    • pop2

      default CodeBuilderPREVIEW pop2()
      上位1つまたは2つのオペランド・スタック値をポップする命令を生成します
      戻り値:
      このビルダー
    • putfield

      default CodeBuilderPREVIEW putfield(FieldRefEntryPREVIEW ref)
      オブジェクトにフィールドを設定する指示の生成
      パラメータ:
      ref - フィールド参照
      戻り値:
      このビルダー
    • putfield

      default CodeBuilderPREVIEW putfield(ClassDesc owner, String name, ClassDesc type)
      オブジェクトにフィールドを設定する指示の生成
      パラメータ:
      owner - 所有者クラス
      name - フィールド名
      type - フィールド・タイプ
      戻り値:
      このビルダー
      例外:
      IllegalArgumentException - ownerがプリミティブ型を表す場合
    • putstatic

      default CodeBuilderPREVIEW putstatic(FieldRefEntryPREVIEW ref)
      クラスの静的フィールドを設定する命令を生成します。
      パラメータ:
      ref - フィールド参照
      戻り値:
      このビルダー
    • putstatic

      default CodeBuilderPREVIEW putstatic(ClassDesc owner, String name, ClassDesc type)
      クラスの静的フィールドを設定する命令を生成します。
      パラメータ:
      owner - 所有者クラス
      name - フィールド名
      type - フィールド・タイプ
      戻り値:
      このビルダー
      例外:
      IllegalArgumentException - ownerがプリミティブ型を表す場合
    • return_

      default CodeBuilderPREVIEW return_()
      メソッドからvoidを返す命令を生成します。
      戻り値:
      このビルダー
    • saload

      default CodeBuilderPREVIEW saload()
      配列からshortをロードする命令を生成します。
      戻り値:
      このビルダー
    • sastore

      default CodeBuilderPREVIEW sastore()
      short配列に格納する命令の生成
      戻り値:
      このビルダー
    • sipush

      default CodeBuilderPREVIEW sipush(int s)
      ショートをオペランド・スタックにプッシュする命令を生成します
      パラメータ:
      s - ショート
      戻り値:
      このビルダー
    • swap

      default CodeBuilderPREVIEW swap()
      上位2つのオペランド・スタック値を入れ替える命令を生成します
      戻り値:
      このビルダー
    • tableswitch

      default CodeBuilderPREVIEW tableswitch(int low, int high, LabelPREVIEW defaultTarget, List<SwitchCasePREVIEW> cases)
      索引およびジャンプでジャンプ表にアクセスするための命令の生成
      パラメータ:
      low - キーの下限値
      high - 高いキー値
      defaultTarget - デフォルトのジャンプ・ターゲット
      cases - スイッチ・ケース
      戻り値:
      このビルダー
    • tableswitch

      default CodeBuilderPREVIEW tableswitch(LabelPREVIEW defaultTarget, List<SwitchCasePREVIEW> cases)
      索引およびジャンプでジャンプ表にアクセスするための命令の生成
      パラメータ:
      defaultTarget - デフォルトのジャンプ・ターゲット
      cases - スイッチ・ケース
      戻り値:
      このビルダー