void addWrites ( MethodDescriptor methodDescriptor , final Integer lineNumber , FieldDescriptor fieldDescriptor ) { WritesDescriptor writesDescriptor = scannerContext . getStore ( ) . create ( methodDescriptor , WritesDescriptor . class , fieldDescriptor ) ; writesDescriptor . setLineNumber ( lineNumber ) ; }
Add a writes relation between a method and a field .