Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
javassist API を使用して、jar 内のクラスをプライベートからパブリックに変更することは可能ですか。jarを解凍し、ctclassをロードし、派生クラス名を変更するなどの変更を加えてから、すべてを新しいjarに圧縮する方法をすでに知っています。どうもありがとう
CtClass.setModifiers()を呼び出すだけでよいはずです。