    001package cpw.mods.fml.common.functions;
    002
    003import com.google.common.base.Function;
    004
    005import cpw.mods.fml.common.ModContainer;
    006
    007public class ModNameFunction implements Function<ModContainer, String>
    008{
    009    @Override
    010    public String apply(ModContainer input)
    011    {
    012        return input.getName();
    013    }
    014
    015}