Bytebuddy - Intercept java.net.ServerSocket constructor
问题 Iam Trying to Intercept two methods and one constructor of java.net.ServerSocket . Intercepting the two methods getLocalPort and getInetAddress works fine. However, the class which should handle the constructor ServerSocket(int) is not triggered. My code to instrument (inside a different jar-file which is included to the mainproject): package instrumenting; public class Instrumenting { private static final String CLASS_NAME = "java.net.ServerSocket"; public static void instrument