/*
 * This file is part of Sponge, licensed under the MIT License (MIT).
 *
 * Copyright (c) SpongePowered.org <http://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.text;

import org.spongepowered.api.text.action.ClickAction;
import org.spongepowered.api.text.action.HoverAction;
import org.spongepowered.api.text.style.TextStyle;

import java.util.List;

// Possible use cases:
//   Message<String>      - regular text message
//   Message<Translation> - translated message with translation ID
//   Message<Selector>    - selector message (TODO: API for selectors)
//   Message<Score>       - score message (TODO: Scoreboard API)
public interface Message<T> {
    T getContent();
    TextStyle getStyle();

    List<Message> getChildren();

    String getInsertion();

    ClickAction<?> getClickAction();
    HoverAction<?> getHoverAction();
}

@@ -1444,519 +1444,564 @@
 le;%0A
-%0A
 import 
-java.util.List;%0A%0A// Possible use cases:%0A//   Message%3CString%3E      - regular text message%0A//   Message%3CTranslation%3E - translated message with translation ID%0A//   Message%3CSelector%3E    - selector message (TODO: API for selectors)%0A//   Message%3CScore%3E       - score message (TODO: Scoreboard API)%0Apublic interface Message%3CT%3E %7B%0A    T getContent();%0A    TextStyle getStyle();%0A%0A    List%3CMessage%3E getChildren();%0A%0A    String getInsertion();%0A%0A    ClickAction%3C?%3E getClickAction();%0A    HoverAction%3C?%3E getHoverAction();
+org.spongepowered.api.text.translation.Translation;%0A%0Aimport java.util.List;%0A%0Apublic interface Message%3CT%3E %7B%0A    T getContent();%0A    TextStyle getStyle();%0A%0A    List%3CMessage%3E getChildren();%0A%0A    String getInsertion();%0A%0A    ClickAction%3C?%3E getClickAction();%0A    HoverAction%3C?%3E getHoverAction();%0A%0A    interface Text extends Message%3CString%3E %7B%7D%0A    interface Translatable extends Message%3CTranslation%3E, org.spongepowered.api.text.translation.Translatable %7B%7D%0A    //interface Score extends Message%3CScore%3E %7B%7D%0A    //interface Selector extends Message%3CSelector%3E %7B%7D
 %0A%7D%0A

Add specific message types