return field;
}
private JavaMethod getConstructor(ComponentBean componentBean, JavaClass javaClass) {
final RendererBean renderer = componentBean.getRenderer();
JavaMethod method = new JavaConstructor(javaClass);
method.addModifier(JavaModifier.PUBLIC);
method.setMethodBody(new MethodBody(method) {
@Override
public String toCode() {
if (renderer != null) {
return "setRendererType(\"" + renderer.getName() + "\");";
}