final SoftPrerequisites softPre = method.getAnnotation(SoftPrerequisites.class);
if (softPre != null)
info.softPrerequisites = softPre.value();
// XML element name for configuration
final Mapping mapping = method.getAnnotation(Mapping.class);
if (mapping != null)
configName = Joiner.on(".").skipNulls().join(mapping.value());
// Is this a Flex only option?
final FlexOnly flexOnly = method.getAnnotation(FlexOnly.class);
if (flexOnly != null)
info.isFlexOnly = true;