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