protected double calculate() {
double value = 0d;
SnapshotAnalyzer snapshotAnalyzer = new SnapshotAnalyzer(getCurrentSession());
List<AbstractFamixEntity> entities = new ArrayList<AbstractFamixEntity>();
entities.add(getCurrentEntity());
List<AbstractFamixGeneralization> generalizations = snapshotAnalyzer.queryAssociationsOfEntities(entities, AbstractFamixGeneralization.class, "to");
value = generalizations.size();
return value;
}
/**