Class InstrumentationAgent


  • public class InstrumentationAgent
    extends java.lang.Object
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static void agentmain​(java.lang.String agentArgs, java.lang.instrument.Instrumentation instrumentation)  
      static java.lang.instrument.Instrumentation getInstrumentation()  
      static void premain​(java.lang.String agentArgs, java.lang.instrument.Instrumentation instrumentation)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • InstrumentationAgent

        public InstrumentationAgent()
    • Method Detail

      • premain

        public static void premain​(java.lang.String agentArgs,
                                   java.lang.instrument.Instrumentation instrumentation)
      • agentmain

        public static void agentmain​(java.lang.String agentArgs,
                                     java.lang.instrument.Instrumentation instrumentation)
      • getInstrumentation

        public static java.lang.instrument.Instrumentation getInstrumentation()