問題タブ [data-class]
For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.
284 問題
0
投票する
2
に答える
2118
参照
reflection - リフレクション経由でデータ クラス copy() を呼び出す
それでおしまい。Kotlinでリフレクションを介してデータクラスのcopy()関数を呼び出すことは可能ですか? 関数自体への参照を取得するにはどうすればよいですか? すべてのデータ クラスのスーパークラスはありますか? (見つからない…)