Casting my getClass() call to Object like this
((Object) this).getClass()
solves the problem (with non abstract classes) for me.
It’s not great, but it’s working.
Also, manipulating your Android SDKs from the project settings and removing all JDK jars from your Android SDK resolves the error. Of course you’ll have to reference it within your project to utilize the fix.