From 78d3b2ea9089a08652c1410595b661c264fdb5a1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=87=91=E6=88=9F?= Date: Sun, 2 Aug 2020 22:55:32 +0800 Subject: [PATCH] add parameter to allow choose use code or bytecode modification for private member access --- .../com/alibaba/testable/core/annotation/EnableTestable.java | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/core/src/main/java/com/alibaba/testable/core/annotation/EnableTestable.java b/core/src/main/java/com/alibaba/testable/core/annotation/EnableTestable.java index ff3c60a..886658e 100644 --- a/core/src/main/java/com/alibaba/testable/core/annotation/EnableTestable.java +++ b/core/src/main/java/com/alibaba/testable/core/annotation/EnableTestable.java @@ -12,4 +12,9 @@ import java.lang.annotation.*; @Documented public @interface EnableTestable { + /** + * Whether use compile time code modification + */ + boolean withoutAgent() default false; + }