Skip to content

Commit 2e51340

Browse files
committed
README
1 parent bb17e15 commit 2e51340

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,9 @@ The plugin rewrites method bodies to throw `NullPointerException` on invocation:
2020

2121
- **Instance methods**: replaced with `throw null`.
2222
- **Constructors**: preserved `this()/super()` chaining, then `throw null`.
23-
- **Static initializers**: replaced with minimal field assignments (sets static fields to type-appropriate defaults: `0`, `false`, or `null`). This drastically reduces bytecode size while ensuring the class loads correctly.
23+
- **Static initializers**: preserved intact.
2424
- **Abstract/native methods**: bodies left unchanged (they have no bodies).
25-
- **Synthetic bridge methods**: rewritten like regular methods (bridges still exist as method symbols).
25+
- **Synthetic bridge methods**: not specifically handled; the plugin rewrites the concrete method bodies it sees during its `ENTER`-time traversal.
2626

2727
### Plugin arguments
2828

0 commit comments

Comments
 (0)