mirror of
https://github.com/LegacyModdingMC/UniMix.git
synced 2026-11-13 00:47:52 +00:00
Add debug message to ClassInfo
This commit is contained in:
1 parent
6900f211d2
commit
e92f99fba4
1 file changed
+5
@@ -32,6 +32,8 @@ import java.util.List;
|
||||
import java.util.Map;
|
||||
import java.util.Set;
|
||||
|
||||
import org.apache.logging.log4j.LogManager;
|
||||
import org.apache.logging.log4j.Logger;
|
||||
import org.objectweb.asm.Opcodes;
|
||||
import org.objectweb.asm.tree.ClassNode;
|
||||
import org.objectweb.asm.tree.FieldInsnNode;
|
||||
@@ -315,6 +317,8 @@ class ClassInfo extends TreeInfo {
|
||||
}
|
||||
}
|
||||
|
||||
private static final Logger logger = LogManager.getLogger("mixin");
|
||||
|
||||
private static final String JAVA_LANG_OBJECT = "java/lang/Object";
|
||||
|
||||
/**
|
||||
@@ -1297,6 +1301,7 @@ class ClassInfo extends TreeInfo {
|
||||
|
||||
// Put null in the cache if load failed
|
||||
ClassInfo.cache.put(className, info);
|
||||
ClassInfo.logger.debug("Added class metadata for {} to metadata cache", className);
|
||||
}
|
||||
|
||||
return info;
|
||||
|
||||
Reference in new issue
Block a user