class DefinitionResolver {

    static double calculateResolutionFactor(final BPMNDiagram diagram) {
        final float resolution = diagram.getResolution();
        // If no resolution set on the model, the eclipse parsers default to 0.0F.
        return resolution == 0 ?
                1 :
                obtainResolutionFactor() / resolution;
    }

    public  DefinitionResolver(
            Definitions definitions,
            Collection<WorkItemDefinition> workItemDefinitions,
            boolean jbpm,
            Mode mode);
    public  DefinitionResolver(Definitions definitions,
                              Collection<WorkItemDefinition> workItemDefinitions);

}