Community
Participate
Working Groups
When writing checks on models, we often have to write code to check for null values. (E.g. if(x.getY() != null && x.getY().getZ()) That is quite annoying and boilerplate. The idea for this extension would be to add some default exception handling around the @Check-Methods that can be configured. The idea is: * Default is no exception handling * We could then add an additional @Check parameter to specify how we would like the framework to deal with NPE: * Ignore: Ignore any NPE thrown by Check * Info/Warning/Error: Add an issue with the specified severity, informing the user about the NPE. Then we could really reduce the Null-Checking within the Check mdethods.
Closed stale issue before migration