Continue to follow the last "https://www.cnblogs.com/webor2006/p/9502507.html" of the 10 represents the byte analysis of code, as follows:
And these bytes actually correspond to the information that it is:
So the question is, ALOAD_0 is not mnemonic information, how can you correspond with the bytes in the byte-code file? The so-called mnemonic is actually to help us to remember the match, in fact, the bottom is also corresponding to a hexadecimal number, the other aload_0 corresponds to 2A this hexadecimal number, why so say? Because there are jclasslib such a good tool can help us to correspond, put the mouse on the mnemonic found is a can point link, as follows:
Click on the "Aload_0" to find out the link to Oracle's official online instructions, as follows:
So the first byte has already been parsed, and it is true that it corresponds to the mnemonic, and then the second byte is parsed:
And the second mnemonic in Jsclasslib is "Invokespecial", click on the link to the official website to see:
And its function can be understood to be called the method of the parent class, and this mnemonic is parameter:
In fact, the next two bytes are the corresponding parameters of this mnemonic, as follows:
The corresponding constant pool is:
This is the construction method, as shown in Jsclasslib:
10
Java bytecode Method table and property sheet