for(Field f : curClass.getFields()){
for(Annotation a : f.getAnnotations()){
if(a instanceof In){
if(nameToFieldMap.containsKey(((In) a).name()))
throw new WorkflowCodeMatchException("Multiple input field with the same name for input with name : " +((In)a).name());
nameToFieldMap.put(((In)a).name(), f);
}
}
}