Skip to content

Field interception

Reflection Emit edited this page Dec 21, 2017 · 2 revisions

The property interceptor can also be used to intercept private fields. The weaver will create properties that use the field as backing field. All interactions with the field will be replaced with the newly created (and intercepted) property. This is why this feature only supports private fields.