FilterResult (String className) { try { if ((Boolean)included.invoke(null, className)) { return FilterResult.included(null); } return FilterResult.excluded(null); } catch (Throwable e) { return FilterResult.excluded(e.getMessage()); } }