added support for the argument collections code

git-svn-id: file:///humgen/gsa-scr1/gsa-engineering/svn_contents/trunk@648 348d0f76-0448-11de-a6fe-93d51630548a
This commit is contained in:
aaron 2009-05-09 07:07:33 +00:00
parent 742840017b
commit ee02b61068
1 changed files with 3 additions and 0 deletions

View File

@ -86,6 +86,9 @@ public class ParsingEngine {
Argument argument = field.getAnnotation(Argument.class);
if(argument != null)
argumentsFromSource.add( new ArgumentDefinition(argument,source,field) );
ArgumentCollection argumentCollection = field.getAnnotation(ArgumentCollection.class);
if(argumentCollection != null)
addArgumentSource(sourceName, field.getType());
}
source = source.getSuperclass();
}