usingMembersWhenUsingPairsThrowsException() — spring-boot Function Reference
Architecture documentation for the usingMembersWhenUsingPairsThrowsException() function in JsonWriterTests.java from the spring-boot codebase.
Entity Profile
Dependency Diagram
graph TD c0f93c8e_bef6_6418_693a_404fa1f689e4["usingMembersWhenUsingPairsThrowsException()"] 0d94726e_741b_9208_9d8c_ca4cd0f4cf12["of()"] c0f93c8e_bef6_6418_693a_404fa1f689e4 -->|calls| 0d94726e_741b_9208_9d8c_ca4cd0f4cf12 ff35061f_3c60_c5ba_a694_e043d2fbd62a["usingPairs()"] c0f93c8e_bef6_6418_693a_404fa1f689e4 -->|calls| ff35061f_3c60_c5ba_a694_e043d2fbd62a 84506fbe_214d_f213_ad3f_496e15af47cb["usingMembers()"] c0f93c8e_bef6_6418_693a_404fa1f689e4 -->|calls| 84506fbe_214d_f213_ad3f_496e15af47cb style c0f93c8e_bef6_6418_693a_404fa1f689e4 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
core/spring-boot/src/test/java/org/springframework/boot/json/JsonWriterTests.java lines 467–474
@Test
void usingMembersWhenUsingPairsThrowsException() {
assertThatIllegalStateException()
.isThrownBy(() -> JsonWriter.of((members) -> members.from(Collections.emptyMap())
.usingPairs(Map::forEach)
.usingMembers((mapMembers) -> mapMembers.add("test"))))
.withMessage("Members cannot be declared when using pairs");
}
Domain
Subdomains
Source
Frequently Asked Questions
What does usingMembersWhenUsingPairsThrowsException() do?
usingMembersWhenUsingPairsThrowsException() is a function in the spring-boot codebase.
What does usingMembersWhenUsingPairsThrowsException() call?
usingMembersWhenUsingPairsThrowsException() calls 3 function(s): of, usingMembers, usingPairs.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free