| Enum | Description |
|---|---|
| CASM.Shift |
| Annotation Type | Description |
|---|---|
| CASM |
Inject into a method using direct ASM
You get direct access to the MethodNode of the target method |
| CInject |
Inject into a method at various targets
You can cancel the original code flow and return own values if needed |
| CModifyConstant |
Modify a constant value in a method
|
| COverride |
Override a method in a class
The method with this annotation needs the same parameters and return type as the original method The access of the method has to be higher or equal to the original method If the original method is static, the method with this annotation has to be static as well |
| CRedirect |
Redirect a specific method/field call
|
| CWrapCatch |
Wrap an entire method or a single instruction in a try-catch block
The method with this annotation must have the same return type as the original method Only one parameter is allowed, and it must be of type ThrowableThe parameter also declares which exception should be caught |