@Override public TaskClassInfo load(Class<? extends Task> type) throws Exception { TaskClassInfo taskClassInfo = new TaskClassInfo(); findTaskActions(type, taskClassInfo); TaskClassValidator validator = validatorExtractor.extractValidator(type); taskClassInfo.setValidator(validator); taskClassInfo.setCacheable(type.isAnnotationPresent(CacheableTask.class)); return taskClassInfo; }