Skip to content

Commit

Permalink
add notice regarding using immutable references
Browse files Browse the repository at this point in the history
  • Loading branch information
oSumAtrIX committed Oct 27, 2024
1 parent 5a0e384 commit 635d23c
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions docs/2_2_1_fingerprinting.md
Original file line number Diff line number Diff line change
Expand Up @@ -233,6 +233,11 @@ The `classDef` and `method` properties can be used to make changes to the class
They are lazy properties, so they are only computed
and will effectively replace the original method or class definition when accessed.

> [!TIP]
> If only read-only access to the class or method is needed,
> the `originalClassDef` and `originalMethod` properties can be used,
> to avoid making a mutable copy of the class or method.
## 🏹 Manually matching fingerprints

By default, a fingerprint is matched automatically against all classes when the `match` property is accessed.
Expand Down

0 comments on commit 635d23c

Please sign in to comment.