class Helper {

    public void validate(List<VersionModule> modules) {
        if (modules == null || modules.isEmpty()) {
            throw new IllegalArgumentException("No modules found.");
        }
        for (VersionModule module : modules) {
            if (!Utils.hasAnnotatedMethods(module.getClass(), VersionCode.class)) {
                throw new IllegalArgumentException("No annotated method found.");
            }
        }
    }

      Helper(Application application);

}