Skip to content

Commit

Permalink
Add FieldReflectionArbitrary usage summary for kor/en documents (#964)
Browse files Browse the repository at this point in the history
* Add FieldReflectionArbitrary  usage summary for kor/en documents

* Add FieldReflectionArbitrary usage summary for kor/en documents

---------

Co-authored-by: 최윤진_트랜잭션개발팀 <[email protected]>
  • Loading branch information
YunNote and oy-zzdd1558 authored Mar 28, 2024
1 parent 83a2f01 commit c22f66b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,8 @@ FixtureMonkey fixtureMonkey = FixtureMonkey.builder()
.build();
```

{{< alert icon="💡" text="만약 final이 아닌 변수가 선언되어 있다면 getter 또는 setter 없이도 사용 가능합니다." />}}

## FailoverArbitraryIntrospector
프로덕션 코드에서 다수의 클래스가 있을 때 각 클래스마다 다른 설정을 가진다면 하나의 introspector로 모든 객체를 생성하기 어려울 수 있습니다.
이 경우 `FailoverArbitraryIntrospector`를 사용할 수 있습니다.
Expand Down
2 changes: 2 additions & 0 deletions docs/content/v1.0.x/docs/generating-objects/introspector.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,8 @@ FixtureMonkey fixtureMonkey = FixtureMonkey.builder()
.build();
```

{{< alert icon="💡" text="If there are non-final variables declared, they can be instantiated without the need for getters or setters." />}}

## BuilderArbitraryIntrospector
To generate a class using the class's builder, you can use `BuilderArbitraryIntrospector`.
It requires that the class has a builder.
Expand Down

0 comments on commit c22f66b

Please sign in to comment.