private AnalyticsClass currentClass = null;
private Field currentField = null;
public void insert(PackageDescr packageDescr) {
AnalyticsData data = AnalyticsDataFactory.getAnalyticsData();
RulePackage rulePackage = data.getRulePackageByName(packageDescr
.getName());
if (rulePackage == null) {
rulePackage = new RulePackage();
rulePackage.setName(packageDescr.getName());
data.save(rulePackage);
}
currentPackage = rulePackage;