When running Soot with the jap pack, it manages to find all the correct Annotations, but it fails in some instances to correctly determine the elements belonging to that tag.
My specific case is:
@PostMapping("/checkIn")
@Transactional
public String checkIn(@ModelAttribute RoomVisit.Data visitData, Model model){
...;
}
When I analyze the method and retrieve the VisibilityParameterAnnotationTag, the @ModelAttribute correctly shows up,
but visitData is not in the elems field.
The information of the Annotation also didn't get lost while compiling, as the command javap -c -v correctly shows the Annotation only for parameter 0.
When running Soot with the jap pack, it manages to find all the correct Annotations, but it fails in some instances to correctly determine the elements belonging to that tag.
My specific case is:
When I analyze the method and retrieve the VisibilityParameterAnnotationTag, the
@ModelAttribute
correctly shows up, butvisitData
is not in theelems
field.The information of the Annotation also didn't get lost while compiling, as the command
javap -c -v
correctly shows the Annotation only for parameter 0.Here is the compiled class file: RoomController.zip
I am currently using the newest build of Soot and Java 17.
Any help would be greatly appreciated. Cheers!