use of org.whole.lang.pojo.templates.JavaModelToPojoModelQuery in project whole by wholeplatform.
the class PojoMappingUtils method getLibrary.
public static Library getLibrary(Misc compilationUnits, IBindingManager bindings) {
PathExpression javaModelToPojoModel = new JavaModelToPojoModelQuery().create();
Library library = BehaviorUtils.<Library>evaluateFirstResult(javaModelToPojoModel, compilationUnits, bindings);
Matcher.removeVars(library, true);
return library;
}
Aggregations