context.put("tag", component.getTag());
context.put("package", component.getTag().getPackageName());
Set<String> importClasses = new HashSet<String>();
for (Iterator<PropertyBean> it = component.getProperties().iterator(); it
.hasNext();) {
PropertyBean property = (PropertyBean) it.next();
// For non-primitive types, add import declaration.
if (!property.isSimpleType() && !property.isHidden()) {
importClasses.add(property.getClassname());
}
}
importClasses.add(component.getTag().getTest().getSuperclassname());
context.put("imports", importClasses);
String resultPath = component.getTag().getTest().getClassname().replace('.', '/')