public static void instrument(Instrumentation inst) throws ClassNotFoundException, UnmodifiableClassException, IOException {
  inst.redefineClasses(new ClassDefinition[]{getRedefinedClass(Object.class)});
}

public static void instrument ( Instrumentation inst ) throws ClassNotFoundException , UnmodifiableClassException , IOException { inst . redefineClasses ( new ClassDefinition [ ] { getRedefinedClass ( Object . class ) } ) ; }
premain method called before the application being profile is initialized .
