/*
 * Forge Mod Loader
 * Copyright (c) 2012-2013 cpw.
 * All rights reserved. This program and the accompanying materials
 * are made available under the terms of the GNU Lesser Public License v2.1
 * which accompanies this distribution, and is available at
 * http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
 * 
 * Contributors:
 *     cpw - implementation
 */

package net.minecraftforge.fml.common.discovery;

import java.util.List;
import java.util.regex.Pattern;

import net.minecraftforge.fml.common.ModContainer;

public interface ITypeDiscoverer
{
    public static Pattern classFile = Pattern.compile("[^\\s]+\\.class$");

    public List<ModContainer> discover(ModCandidate candidate, ASMDataTable table);
}

@@ -556,16 +556,134 @@
 verer%0A%7B%0A
+    // main class part, followed by an optional $ and an %22inner class%22 part. $ cannot be last, otherwise scala breaks%0A
     publ
@@ -738,10 +738,26 @@
 %5E%5C%5Cs
-%5D+
+%5C%5C$%5D+(%5C%5C$%5B%5E%5C%5Cs%5D+)?
 %5C%5C.c

Fix scala mods, Closes #621