class AutoFixManager {

    private boolean isAFixCandidate(Method isFixCandidateMethod, Object fixObject, String resourceId, String targetType,
            Map<String, Object> clientMap, Map<String, String> ruleParam, Map<String, String> annotation) throws IllegalAccessException, IllegalArgumentException, InvocationTargetException {
        try{
                Boolean isFixCandidate =  null==isFixCandidateMethod?true:(Boolean)isFixCandidateMethod.invoke(fixObject, resourceId, targetType, clientMap, ruleParam,annotation);
                logger.debug("is fix candidate ==> {} ",isFixCandidate);
                return isFixCandidate;

        }catch(Exception e){
            logger.error("error executing is fix candidate ",e);
            return Boolean.FALSE;
        }
        
    }

    public  AutoFixManager();

}