From 80a0d4a3d4e6e8b861b94560ba1b31df174ad421 Mon Sep 17 00:00:00 2001 From: QwQ-dev Date: Mon, 23 Dec 2024 18:58:52 +0800 Subject: [PATCH] docs: some small changes. --- commons/README.md | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/commons/README.md b/commons/README.md index e2b8cd7..13d3227 100644 --- a/commons/README.md +++ b/commons/README.md @@ -45,7 +45,12 @@ public class Test { public static VarHandle TField_HANDLE; static { - InjectorFactory.inject(Test.class); + /* + * This class is a singleton and is managed by Fairy IoC. + * Of course, it is also allowed to create it directly using the factory or directly creating it. + * This is not so strict. + */ + InjectorFactory.createVarHandleReflectionInjector().inject(Test.class); } } ``` \ No newline at end of file