try { return CheckPermissionAction.class.getConstructor(new Class[] { Permission.class}); } catch (Throwable e) { System.out.println("getCheckThreadPermissionAction: " + e); }