Add slice for ModifyConstant, closes #180.

This commit is contained in:
Mumfrey committed 2017-06-15 12:35:47 +01:00
1 parent 25f9e036d3
commit 72be34d0f4
1 file changed
+8
@@ -68,6 +68,14 @@ public @interface ModifyConstant {
*/
public String method();
/**
* A {@link Slice} annotation which describes the method bisection used in
* locating target instructions for this modifier.
*
* @return slice
*/
public Slice slice() default @Slice;
/**
* Discriminator for the constant to match (injection point), if not
* specified then all constants matching the annotated handler's return type