/*
 * This file is part of SpongeAPI, licensed under the MIT License (MIT).
 *
 * Copyright (c) SpongePowered <https://www.spongepowered.org>
 * Copyright (c) contributors
 *
 * Permission is hereby granted, free of charge, to any person obtaining a copy
 * of this software and associated documentation files (the "Software"), to deal
 * in the Software without restriction, including without limitation the rights
 * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
 * copies of the Software, and to permit persons to whom the Software is
 * furnished to do so, subject to the following conditions:
 *
 * The above copyright notice and this permission notice shall be included in
 * all copies or substantial portions of the Software.
 *
 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
 * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
 * THE SOFTWARE.
 */
package org.spongepowered.api.scoreboard.displayslot;

import com.google.common.base.Optional;
import org.spongepowered.api.text.format.TextColor;

/**
 * Represents an area to display an objective.
 */
public interface DisplaySlot {

    /**
     * Gets the name of this display slot.
     *
     * @return This display slot's name
     */
    String getName();

    /**
     * Gets the {@link org.spongepowered.api.scoreboard.Team} color that this objective will display for, if set.
     *
     * @return The {@link org.spongepowered.api.scoreboard.Team} color that this objective will display for, if set
     */
    Optional<TextColor> getTeamColor();

}

@@ -1372,246 +1372,270 @@
 api.
-text.format.TextColor;%0A%0A/**%0A * Represents an area to display an objective.%0A */%0Apublic interface DisplaySlot %7B%0A%0A    /**%0A     * Gets the name of this display slot.%0A     *%0A     * @return This d
+CatalogType;%0Aimport org.spongepowered.api.text.format.TextColor;%0Aimport org.spongepowered.api.util.annotation.CatalogedBy;%0A%0A/**%0A * Represents an area to display an objective.%0A */%0A@CatalogedBy(DisplaySlots.class)%0Apublic interface D
 isplay
- slot's name%0A     */%0A    String getName();
+Slot extends CatalogType %7B
 %0A%0A  

Make DisplaySlot a CatalogType