feenkcom/jdt2famix

FAMIXReferences in method annotations are not in model

Opened this issue · 0 comments

For example:

public class GlobalControllerExceptionHandler {
    @ResponseBody
    @ResponseStatus(HttpStatus.BAD_REQUEST)
    @ExceptionHandler({ NotSupportedCountryException.class, WrongPeriodException.class })
    public String handleException(final Exception ex) {
        return ex.getMessage();
    }
}

references to HttpStatus, NotSupportedCountryExceptionand WrongPeriodExceptionare not linked to method handleException.