public void doGenerate(final Resource resource, final IFileSystemAccess fsa) {
EList<EObject> _contents = resource.getContents();
EObject _get = _contents.get(0);
final FXBeanUnit u = ((FXBeanUnit) _get);
{
PackageDeclaration _package = u.getPackage();
String _name = _package.getName();
String _replace = _name.replace(".", "/");
String _plus = (_replace + "/");
Bean _bean = u.getBean();
String _name_1 = _bean.getName();
String _plus_1 = (_plus + _name_1);
final String filePath = (_plus_1 + ".java");
ImportManager _importManager = new ImportManager(true);
this.manager = _importManager;
CharSequence _generateBeanFile = this.generateBeanFile(u);
fsa.generateFile(filePath, _generateBeanFile);
}
Bean _bean = u.getBean();
boolean _isReflective = _bean.isReflective();
if (_isReflective) {
ImportManager _importManager = new ImportManager(true);
this.manager = _importManager;
PackageDeclaration _package = u.getPackage();
String _name = _package.getName();
String _replace = _name.replace(".", "/");
String _plus = (_replace + "/reflective/");
Bean _bean_1 = u.getBean();
String _name_1 = _bean_1.getName();
String _plus_1 = (_plus + _name_1);