Change behaviour of static method in Java - byte code manipulation

前端 未结 2 1048
梦如初夏
梦如初夏 2021-01-22 14:25

I am trying to manipulate a static method. For this, Byte Buddy or any other framework can be used.

There is one library that is called Pi4J that is used for controlling

2条回答
  •  灰色年华
    2021-01-22 14:57

    The code for Pi4J is open source on github under LGPL license. You can simply clone the repository, modify to your needs and use own version. If you feel your changes can help others as well think about contributing tp pi4j.

提交回复
热议问题