if (val == null) {
logger.log(Type.ERROR, "Method must have a @PropertyValue annotation");
throw new UnableToCompleteException();
}
if (!property.getPossibleValues().contains(val.value()) && val.warn()) {
logger.log(Type.WARN, "Value '" + val
+ "' is not present in the current set of possible values for selection property " + propertyName);
}
sw.indentln("return %1$b;", val.value().equals(value));