public static final void saveMethodInjectionTraceInfo(Method method, int parameterIndex, ContextDataHolder valueHolder) {
saveInstanceInjectionTraceInfo(null, createTraceKey(method, parameterIndex), valueHolder);
}
private static final void saveInstanceInjectionTraceInfo(Object instance, String traceKey, ContextDataHolder valueHolder) {
Context context = Context.getCurrentThreadContext();
InstanceTraceList traceList = context.getData(InstanceTraceListSaveKey);
if (traceList == null) {
traceList = new InstanceTraceList();
context.setData(InstanceTraceListSaveKey, traceList);
}
synchronized (traceList) {
TraceMap traceMap = null;
for (TraceMap map : traceList) {
if (map.targetInstance == instance) {