Du kannst nicht mehr als 25 Themen auswählen Themen müssen mit entweder einem Buchstaben oder einer Ziffer beginnen. Sie können Bindestriche („-“) enthalten und bis zu 35 Zeichen lang sein.

InstrumentationAgent.java 454B

123456789101112131415161718
  1. package com.github.dcevm.agent;
  2. import java.lang.instrument.Instrumentation;
  3. /**
  4. * Simple agent to get access to the Instrumentation API.
  5. */
  6. public class InstrumentationAgent {
  7. public static Instrumentation INSTRUMENTATION;
  8. public static void agentmain(String args, Instrumentation instr) {
  9. INSTRUMENTATION = instr;
  10. }
  11. public static void premain(String args, Instrumentation instr) {
  12. INSTRUMENTATION = instr;
  13. }
  14. }