| Modifier and Type | Class and Description |
|---|---|
| private static class |
| Modifier and Type | Field and Description |
|---|---|
| private static final BasicClassFilter | |
| private final BytecodeProviderImpl |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| protected ClassDescriptor | getClassDescriptor(byte[]
The class bytecode. bytecode)Implements abstract org. |
| protected ClassTransformer | getClassTransformer(ClassDescriptor
The descriptor of the class to be instrumented. descriptor, Set<E> The names of all classes to be instrumented; the "pipeline" if you will. classNames)Implements abstract org. |
| CLASS_FILTER | back to summary |
|---|---|
| private static final BasicClassFilter CLASS_FILTER | |
| provider | back to summary |
|---|---|
| private final BytecodeProviderImpl provider | |
| JavassistInstrumenter | back to summary |
|---|---|
| public JavassistInstrumenter(Logger logger, Instrumenter. | |
| getClassDescriptor | back to summary |
|---|---|
| protected ClassDescriptor getClassDescriptor(byte[] bytecode) throws IOException Implements abstract org. Doc from org. Given the bytecode of a java class, retrieve the descriptor for that class.
| |
| getClassTransformer | back to summary |
|---|---|
| protected ClassTransformer getClassTransformer(ClassDescriptor descriptor, Set<E> classNames) Implements abstract org. Doc from org. Create class transformer for the class.
| |
| Modifier and Type | Field and Description |
|---|---|
| private final byte[] | |
| private final ClassFile |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public byte[] | getBytes()
Implements org. |
| public String | |
| public boolean | isInstrumented()
Implements org. |
| bytes | back to summary |
|---|---|
| private final byte[] bytes | |
| classFile | back to summary |
|---|---|
| private final ClassFile classFile | |
| CustomClassDescriptor | back to summary |
|---|---|
| public CustomClassDescriptor(byte[] bytes) throws IOException | |
| getBytes | back to summary |
|---|---|
| public byte[] getBytes() Implements org. Doc from org. The bytes making up the class' bytecode.
| |
| getName | back to summary |
|---|---|
| public String getName() Implements org. Doc from org. The name of the class.
| |
| isInstrumented | back to summary |
|---|---|
| public boolean isInstrumented() Implements org. Doc from org. Determine if the class is already instrumented.
| |