public void add() {

        Object[] classes;

        int index = -1;

        System.out.println("Select your new equipment.");

        try {

            // Retrieve all classes in the package 'equipment.solid'.
            classes = PackageHelper.getInstance()
                    .getClasses("equipment.solid", false, null).toArray();

        } catch (ClassNotFoundException e) {

            System.out.println("No equipment found.");

            return;
        }

        // Display.
        for (int i = 0; i < classes.length; i++) {

            System.out.println("Index : " + i + "\tName : "
                    + ((Class<?>) classes[i]).getSimpleName());
        }

        index = this.getInt(index, classes.length);

        // Add the equipment.
        this.getStockController().getStock().getEquipment()
                .add(this.newEquipment((Class<?>) classes[index]));

        System.out.println("Equipment added");
    }