AP improvements, allow usage in eclipse, log actual position of warnings

This commit is contained in:
Mumfrey committed 2015-01-16 15:46:34 +00:00
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) {