public class JarDiscoverer extends java.lang.Object implements ITypeDiscoverer
Modifier and Type | Field and Description |
---|---|
private static boolean |
ENABLE_JSON_TEST |
classFile
Constructor and Description |
---|
JarDiscoverer() |
Modifier and Type | Method and Description |
---|---|
java.util.List<ModContainer> |
discover(ModCandidate candidate,
ASMDataTable table) |
private void |
findClassesASM(ModCandidate candidate,
ASMDataTable table,
java.util.jar.JarFile jar,
java.util.List<ModContainer> foundMods,
MetadataCollection mc) |
private void |
findClassesJSON(ModCandidate candidate,
ASMDataTable table,
java.util.jar.JarFile jar,
java.util.List<ModContainer> foundMods,
MetadataCollection mc) |
public java.util.List<ModContainer> discover(ModCandidate candidate, ASMDataTable table)
discover
in interface ITypeDiscoverer
private void findClassesASM(ModCandidate candidate, ASMDataTable table, java.util.jar.JarFile jar, java.util.List<ModContainer> foundMods, MetadataCollection mc) throws java.io.IOException
java.io.IOException
private void findClassesJSON(ModCandidate candidate, ASMDataTable table, java.util.jar.JarFile jar, java.util.List<ModContainer> foundMods, MetadataCollection mc) throws java.io.IOException
java.io.IOException