}
private void diagnose(BundleDescription bundle, PlatformAdmin platformAdmin) {
System.out.println(Utils.bundleToString(bundle));
StateHelper stateHelper = platformAdmin.getStateHelper();
VersionConstraint[] unsatisfied = stateHelper.getUnsatisfiedConstraints(bundle);
ResolverError[] resolverErrors = analyzeErrors(bundle, platformAdmin.getState(false));
if (unsatisfied.length == 0 && resolverErrors.length == 0) {
System.out.println(Utils.formatMessage(2, "No unresolved constraints."));
}