/* */
/* */ public boolean resolves(DeploymentUnit unit, Requirement requirement)
/* */ {
/* 88 */ if (!(requirement instanceof RequirePackage))
/* 89 */ return false;
/* 90 */ RequirePackage requirePackage = (RequirePackage)requirement;
/* 91 */ if (!getName().equals(requirePackage.getName()))
/* 92 */ return false;
/* 93 */ return requirePackage.getVersionRange().isInRange(getVersion());
/* */ }