// Collect configuration info from getXXXInfo() static methods.
final ConfigurationInfo info = createInfo(method);
// Collect configuration info from annotations.
final Config config = method.getAnnotation(Config.class);
if (config != null)
{
info.isAdvanced = config.advanced();
info.isHidden = config.hidden();
info.isRemoved = config.removed();
info.allowMultiple = config.allowMultiple();
info.isPath = config.isPath();
info.isDisplayed = config.displayed();
info.isCompcOnly = config.compcOnly();
info.isRequired = config.isRequired();
// Argument name generator class
final ArgumentNameGenerator argumentNameGeneratorClass =
method.getAnnotation(ArgumentNameGenerator.class);
if (argumentNameGeneratorClass != null)