Trigger (@NotNull Throwable trace) { final String traceText = ExceptionUtil.getThrowableText(trace); for (Trigger value : values()) { if (traceText.contains(value.myFrameMarker)) { return value; } } return null; }