I get the following exception during compile-time instrumentation:
"Cannot write into the dependency field
see also: ...\salve-3.0\salve-depend-aspects-3.0-SNAPSHOT.jar!
salve\depend\DependencyAspect.class:21::0"
The exception goes away when I change the annotation to
@Dependency(strategy = InstrumentationStrategy.INJECT_FIELD).
Could anybody explain why the error occurs and the consequences of
using INJECT_FIELD strategy?