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:
parent
742840017b
commit
ee02b61068
|
|
@ -86,6 +86,9 @@ public class ParsingEngine {
|
||||||
Argument argument = field.getAnnotation(Argument.class);
|
Argument argument = field.getAnnotation(Argument.class);
|
||||||
if(argument != null)
|
if(argument != null)
|
||||||
argumentsFromSource.add( new ArgumentDefinition(argument,source,field) );
|
argumentsFromSource.add( new ArgumentDefinition(argument,source,field) );
|
||||||
|
ArgumentCollection argumentCollection = field.getAnnotation(ArgumentCollection.class);
|
||||||
|
if(argumentCollection != null)
|
||||||
|
addArgumentSource(sourceName, field.getType());
|
||||||
}
|
}
|
||||||
source = source.getSuperclass();
|
source = source.getSuperclass();
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue