| Package | Description | 
|---|---|
| java.lang.instrument | 
 Provides services that allow Java programming language agents to instrument programs running on the JVM. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
Instrumentation.addTransformer(ClassFileTransformer transformer)
Registers the supplied transformer. 
 | 
void | 
Instrumentation.addTransformer(ClassFileTransformer transformer,
              boolean canRetransform)
Registers the supplied transformer. 
 | 
boolean | 
Instrumentation.removeTransformer(ClassFileTransformer transformer)
Unregisters the supplied transformer. 
 | 
void | 
Instrumentation.setNativeMethodPrefix(ClassFileTransformer transformer,
                     String prefix)
This method modifies the failure handling of
 native method resolution by allowing retry
 with a prefix applied to the name. 
 | 
 Submit a bug or feature 
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
 Copyright © 1993, 2017, Oracle and/or its affiliates.  All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.