You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The insert-annotations-to-source tool adds annotations on top of existing programmer-written annotations.
For example, consider the programmer-written annotated field on a source code file:
If, for example, in the .jaif file associated to this source code file "field" has type @bottom, after running the insert-annotations-to-source tool the resulting source code file will contain:
That may generate errors depending on the type system, which is a problem.
Possible solution: Passing an argument to the tool would state whether the user wants to replace programmer-written annotations in cases of conflict. (-ra, --replaceannotations)
The insert-annotations-to-source tool adds annotations on top of existing programmer-written annotations.
For example, consider the programmer-written annotated field on a source code file:
@top String field;
If, for example, in the .jaif file associated to this source code file "field" has type @bottom, after running the insert-annotations-to-source tool the resulting source code file will contain:
@bottom
@top String field;
That may generate errors depending on the type system, which is a problem.
Possible solution: Passing an argument to the tool would state whether the user wants to replace programmer-written annotations in cases of conflict. (-ra, --replaceannotations)