ここではJavaのバイトコード操作ライブラリ、Javassistとjava.lang.instrumentのpremainの仕組みを使用して、Javaアプリケーションにフックを設置する方法を、サンプルを交えながら解説します。 もっと短く言うと、Javaアプリに追加の処理を差し込んでみよう!
Java is one of the most in-demand programming languages in the world and one of the two official programming languages used in Android development (the other being Kotlin). Developers familiar with ...