Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Invoke Dynamic instructions cannot be searched using ASMAPI

オープン
#72 コメント 0 件 リアクション 0 件 担当者 1 名 GitHub で見る

@Jonathing がすでに取り組んでいます。

2025年3月2日 から。

評価

この issue はまだ評価されていません。

説明

ASMAPI has various helper methods that are meant to make traversing through bytecode easier. Unfortunately while working on CoreMods 5.2, I made an oversight where invoke dynamic expressions cannot be found using any of ASMAPI's findMethodCall methods, even though I have since added the ASMAPI.MethodType.DYNAMIC enum value.

This is not that big of a deal as I can search for invoke dynamic instructions the traditional way using for loops and checking the opcode. But for CoreMods 6.0, whether it will be in JS, Java, or embedded into some other system, this needs to be accounted for. This can probably by making the return value AbstractInsnNode and also accounting for invoke dynamic instructions as they also have a name and descriptor.

主要言語
Java
スター
39
フォーク
23
PR マージ指標
30日以内にマージされた PR はありません

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

MinecraftForge/coremods のほかの issue

MinecraftForge/coremods の issue をすべて見る

似ている issue

Java の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。