for (String property : method.getAnnotation(LegacyConfig.class).value()) { if (defunctConfig.contains(property)) { problems.addError("@LegacyConfig property '%s' on method [%s] is defunct on class [%s]", property, method, configClass); for (String property : method.getAnnotation(LegacyConfig.class).value()) { if (defunctConfig.contains(property)) { problems.addError("@LegacyConfig property '%s' on method [%s] is defunct on class [%s]", property, method, configClass);
for (String property : method.getAnnotation(LegacyConfig.class).value()) { if (defunctConfig.contains(property)) { problems.addError("@LegacyConfig property '%s' on method [%s] is defunct on class [%s]", property, method, configClass); for (String property : method.getAnnotation(LegacyConfig.class).value()) { if (defunctConfig.contains(property)) { problems.addError("@LegacyConfig property '%s' on method [%s] is defunct on class [%s]", property, method, configClass);
for (String property : method.getAnnotation(LegacyConfig.class).value()) { if (defunctConfig.contains(property)) { problems.addError("@LegacyConfig property '%s' on method [%s] is defunct on class [%s]", property, method, configClass); for (String property : method.getAnnotation(LegacyConfig.class).value()) { if (defunctConfig.contains(property)) { problems.addError("@LegacyConfig property '%s' on method [%s] is defunct on class [%s]", property, method, configClass);
if (legacyConfig.value().length == 0) { problems.addError("@LegacyConfig method [%s] annotation has an empty list", configMethod.toGenericString()); isValid = false; for (String arrayEntry : legacyConfig.value()) { if (arrayEntry == null || arrayEntry.isEmpty()) { problems.addError("@LegacyConfig method [%s] annotation contains null or empty value", configMethod.toGenericString());
if (legacyConfig.value().length == 0) { problems.addError("@LegacyConfig method [%s] annotation has an empty list", configMethod.toGenericString()); isValid = false; for (String arrayEntry : legacyConfig.value()) { if (arrayEntry == null || arrayEntry.isEmpty()) { problems.addError("@LegacyConfig method [%s] annotation contains null or empty value", configMethod.toGenericString());
if (legacyConfig.value().length == 0) { problems.addError("@LegacyConfig method [%s] annotation has an empty list", configMethod.toGenericString()); isValid = false; for (String arrayEntry : legacyConfig.value()) { if (arrayEntry == null || arrayEntry.isEmpty()) { problems.addError("@LegacyConfig method [%s] annotation contains null or empty value", configMethod.toGenericString());