| Enum | Description |
|---|---|
| CStub.Access |
The type of access to the member.
|
| CTarget.Shift |
The shift for injecting
BEFORE/AFTER the target. |
| Annotation Type | Description |
|---|---|
| CInline |
Inline an injection method into the target method.
This makes injecting into already loaded classes possible. |
| CLocalVariable |
The priority for identifying the local variable is:
1. |
| CReplaceCallback |
Replace all
InjectionCallback instances with an Object[].This can be used if the InjectionCallback class is not available in the target environment (e.g. |
| CShadow |
Create a shadow copy of a method/field/constructor to directly access the original member after injection.
When shadowing a method you can simply make the method native to skip the need of a method body. |
| CShared |
Share a variable between multiple methods injecting into the same target method.
|
| CSlice |
Specify a slice of bytecode to make choosing the injection target easier.
|
| CStub |
Create a stub copy of a method/field/constructor to access the original member without requiring access to the original class.
This allows calling methods of objects that are not available at compile time. |
| CTarget |
Specify the target of the transformer method.
The targets are specified in the TransformerManager. |
| CTransformer |
Mark a class as a transformer class.
If your transformer does not have this annotation, an IllegalStateException will be thrown when registering it. |
| CUpgrade |
Upgrade the version of a class to use never java features.
This does not upgrade any code, it only changes the version of the class. Downgrading is not possible. |
| InjectionInfo |
This annotation is used to mark methods which have been added by ClassTransform.
This provides some extra information if the transformed class is dumped. |