ExceptionInfo (String line) { switch (myWantLines) { case 2 -> { if (line.contains(myClassName + ".$$$reportNull$$$0")) { return new JetBrainsNotNullInstrumentationExceptionInfo(getClassNameOffset(), getExceptionClassName(), getExceptionMessage(), myParameterName, myFullClassName, myMethodName, 1); } } case 1 -> { if (line.contains(myClassName + "." + myMethodName)) { return new JetBrainsNotNullInstrumentationExceptionInfo(getClassNameOffset(), getExceptionClassName(), getExceptionMessage(), myParameterName, myFullClassName, myMethodName, 0); } } } return null; }