/** * Change relative order on unit. * * @param unit the deploymenty unit * @param relativeOrder the relative order */ protected static void changeRelativeOrder(DeploymentUnit unit, int relativeOrder) { if (unit instanceof DeploymentUnitExt) { DeploymentUnitExt ext = (DeploymentUnitExt) unit; ext.changeRelativeOrder(relativeOrder); } }