ClassFileTransformer.
| Modifier and Type | Field and Description |
|---|---|
| private final ClassFileTransformer |
| Access | Constructor and Description |
|---|---|
| public | JLIClassTransformer(final ClassFileTransformer
the delegate transformer (must not be transformer)null)Construct a new instance. |
| Modifier and Type | Method and Description |
|---|---|
| public ByteBuffer | transform(final ClassLoader
the class loader of the class being transformed loader, final String the internal name of the class being transformed (not className, final ProtectionDomain null)the protection domain of the class, if any protectionDomain, final ByteBuffer the class bytes being transformed (not classBytes)null; may be a direct or heap buffer)Implements org. |
| transformer | back to summary |
|---|---|
| private final ClassFileTransformer transformer | |
| JLIClassTransformer | back to summary |
|---|---|
| public JLIClassTransformer(final ClassFileTransformer transformer) Construct a new instance.
| |
| transform | back to summary |
|---|---|
| public ByteBuffer transform(final ClassLoader loader, final String className, final ProtectionDomain protectionDomain, final ByteBuffer classBytes) throws IllegalArgumentException Implements org. Doc from org. Transform the bytes of a class. The position and limit of both the passed-in and returned buffers must mark the start and end of the class bytes.
| |