use of org.structr.javaparser.entity.AddJarsToIndexFunction in project structr by structr.
the class JavaParserModule method onLoad.
@Override
public void onLoad(final LicenseManager licenseManager) {
// final boolean basicEdition = licenseManager == null || licenseManager.isEdition(LicenseManager.Basic);
// final boolean smallBusinessEdition = licenseManager == null || licenseManager.isEdition(LicenseManager.SmallBusiness);
final boolean enterpriseEdition = licenseManager == null || licenseManager.isEdition(LicenseManager.Enterprise);
// Enterprise only
Functions.put(enterpriseEdition, LicenseManager.Enterprise, "index_source_tree", new IndexSourceTreeFunction());
Functions.put(enterpriseEdition, LicenseManager.Enterprise, "parse_source_tree", new ParseSourceTreeFunction());
Functions.put(enterpriseEdition, LicenseManager.Enterprise, "analyze_source_tree", new AnalyzeSourceTreeFunction());
Functions.put(enterpriseEdition, LicenseManager.Enterprise, "parse_java", new ParseJavaFunction());
Functions.put(enterpriseEdition, LicenseManager.Enterprise, "analyze_java", new AnalyzeJavaFunction());
Functions.put(enterpriseEdition, LicenseManager.Enterprise, "add_jars_to_index", new AddJarsToIndexFunction());
}
Aggregations