@Override
        public byte[] doInTransform(Instrumentor instrumentor, ClassLoader classLoader, String className, Class<?> classBeingRedefined, ProtectionDomain protectionDomain, byte[] classfileBuffer) throws InstrumentException {
            InstrumentClass target = instrumentor.getInstrumentClass(classLoader, className, classfileBuffer);
            InstrumentMethod setPattern = target.getDeclaredMethod("setPattern", "java.lang.String");
            if (setPattern == null) {
                return null;
            }
            setPattern.addScopedInterceptor(PatternLayoutInterceptor.class, "ModifyPattern");
            return target.toBytecode();
        }
@author https://github.com/licoco/pinpoint
@author yjqg6666
agent-module/plugins/log4j2/src/main/java/com/navercorp/pinpoint/plugin/log4j2/Log4j2Plugin.java