By "Magic" I mean methods that have semantics that are not expressed in pure Java.
I know that all native methods are magic, because their implementation is provided by the underlying runtime, not Java bytecodes.
Is the converse true? Are all magic methods native , or are there some magic methods that are apparently implemented in pure Java, but with some additional help from some JVM-specific packages?
A use case is that I want to change the semantics of Java using my bytecodes. All these magical methods are special cases that I will refer to one way or another. native all obvious, but I was wondering if there are any unmarked magic methods that I have to follow, and a special case for.
source share