Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

メソッドシグネチャをリフレクションではなくソースコードかバイトコードから出す #21

Closed
irof opened this issue Feb 27, 2018 · 1 comment

Comments

@irof
Copy link
Collaborator

irof commented Feb 27, 2018

今のところ、クラスを読んでリフレクションでMethodから出力している。
この形だと依存するクラスを全て読まないと落ちてしまい、以下のような問題がある。

  • マルチモジュールプロジェクトの場合に target.class がjar-hellのような感じになる。
  • 7d29811 のような暫定対処が必要になっている。

https://javaparser.org
http://spoon.gforge.inria.fr
http://asm.ow2.org/

情報の信頼性を考えればバイトコードで行きたいところだけれど、用途を考えればソースコードを読む方があってるかもしれない。

@irof
Copy link
Collaborator Author

irof commented Mar 14, 2018

ASMにした f24f49a

@irof irof closed this as completed Mar 14, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant