mirror of
https://github.com/LegacyModdingMC/UniMix.git
synced 2026-11-21 22:02:11 +00:00
AP improvements, allow usage in eclipse, log actual position of warnings
This commit is contained in:
1 parent
5ee69a22a2
commit
314db1f25b
3 files changed
+102
-48
No files matched your search
@@ -186,12 +186,15 @@ public abstract class MirrorUtils {
|
||||
return "S";
|
||||
case DECLARED:
|
||||
return "L" + MirrorUtils.getInternalName((DeclaredType)type) + ";";
|
||||
case ERROR:
|
||||
// TODO figure out a better way to not crash when we get here
|
||||
return "Ljava/lang/Object;";
|
||||
case VOID:
|
||||
return "V";
|
||||
default:
|
||||
}
|
||||
|
||||
throw new IllegalArgumentException("Unable to parse type symbol " + type + " to equivalent bytecode type");
|
||||
throw new IllegalArgumentException("Unable to parse type symbol " + type + " with " + type.getKind() + " to equivalent bytecode type");
|
||||
}
|
||||
|
||||
public static String getInternalName(DeclaredType type) {
|
||||
|
||||
Reference in new issue
Block a user