@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);

            for (InstrumentMethod method : target.getDeclaredMethods(MethodFilters.name("submit", "submitAll"))) {
                method.addScopedInterceptor(HbaseClientMainInterceptor.class, HbasePluginConstants.HBASE_CLIENT_SCOPE);
            }
            return target.toBytecode();
        }
The type Hbase plugin.

@author Victor.Zxy
@version 1.8.1
@since 2018/10/12
agent-module/plugins/hbase/src/main/java/com/navercorp/pinpoint/plugin/hbase/HbasePlugin.java