Skip to content

Commit

Permalink
update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
nnjun committed Feb 19, 2022
1 parent 562d983 commit 5050636
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -118,10 +118,10 @@ String contextValue = BRTestReflection.get(testReflection).mContextValue();
设置变量:
```java
// 静态变量
BRTestReflection.get().setsStaticValue(staticValue + " changed");
BRTestReflection.get()._set_sStaticValue(staticValue + " changed");

// 上下文变量
BRTestReflection.get(testReflection).setmContextValue(contextValue + " changed");
BRTestReflection.get(testReflection)._set_mContextValue(contextValue + " changed");
```
BRTestReflection是程序自动生成的类,生成规则是BR + ClassName
- BRTestReflection.get() 用于调用静态方法
Expand Down
4 changes: 2 additions & 2 deletions README_EN.md
Original file line number Diff line number Diff line change
Expand Up @@ -116,10 +116,10 @@ String contextValue = BRTestReflection.get(testReflection).mContextValue();
Set the value of Fields:
```java
// Static Field
BRTestReflection.get().setsStaticValue(staticValue + " changed");
BRTestReflection.get()._set_sStaticValue(staticValue + " changed");

// Non-static Field
BRTestReflection.get(testReflection).setmContextValue(contextValue + " changed");
BRTestReflection.get(testReflection)._set_mContextValue(contextValue + " changed");
```
BRTestReflection is a class which generated by the program automatically.
Generation rule: BR + ClassName
Expand Down

0 comments on commit 5050636

Please sign in to comment.