final FlexProject flexProject = (FlexProject)getProject();
//flex.compiler.support.ResourceModuleBase
ASProjectScope scope = flexProject.getScope();
IDefinition def = scope.findDefinitionByName(flexProject.getResourceModuleBaseClass());
ICompilationUnit resourceModuleBaseCompUnit = scope.getCompilationUnitForDefinition(def);
flexProject.addDependency(this, resourceModuleBaseCompUnit, DependencyType.INHERITANCE,
def.getQualifiedName());
//Add dependency to all the resource bundle compilation units we want to
//include in the resource module SWF