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.
Java を使用してジェネリック型の新しいインスタンスを作成する方法はありますか?型リゾルバーを使用してパラメーター化されたものを取得しましたが、取得できました。タイプしますが、 this.myclass.newInstance() を呼び出すたびに、インスタンス化の例外が発生します。同じ質問がされていることは知っていますが、私の問題を解決する答えはありません。プレサンクス。