src/main/java/org/moskito/javaagent/LightTransformationAgent.java
/**
	 * JVM hook to statically load the javaagent at startup.
	 * After the Java Virtual Machine (JVM) has initialized, the premain method
	 * will be called. Then the real application main method will be called.
	 *
	 * @param args
	 * 		arguments
	 * @param inst
	 * 		{@link Instrumentation}
	 */
JVM hook to statically load the javaagent at startup.
After the Java Virtual Machine (JVM) has initialized, the premain method
will be called. Then the real application main method will be called.

@param args
arguments
@param inst
Instrumentation
JVM hook to statically load the javaagent at startup . After the Java Virtual Machine ( JVM ) has initialized the premain method will be called . Then the real application main method will be called . @param args arguments @param inst Instrumentation
public static void premain(String args, Instrumentation inst) {
		LOG.debug("premain method invoked with args: {} and inst: {}", args, inst);
		final ClassFileTransformer aspectTransformationAgent = new LightTransformationAgent();
		inst.addTransformer(aspectTransformationAgent);
		startMoskitoBackend();
	}
public static void premain ( String args , Instrumentation inst ) { LOG . debug ( "premain method invoked with args: {} and inst: {}" , args , inst ) ; final ClassFileTransformer aspectTransformationAgent = new LightTransformationAgent ( ) ; inst . addTransformer ( aspectTransformationAgent ) ; startMoskitoBackend ( ) ; }
JVM hook to statically load the javaagent at startup.
JVM hook to statically load the javaagent at startup .