@@ -51,7 +51,7 @@ information about their length in bytes.
5151The integer format used in class files are unsigned integers of size 8/16/32
5252bit, which are named as ` u1 ` /` u2 ` /` u4 ` .
5353
54- \subsection Access flags
54+ \subsection java-class-access-flags Access Flags
5555
5656The JVM specification defines different access flags, e.g., ` final ` , ` static ` ,
5757` protected ` , ` private ` etc. where different ones are applicable to the class
@@ -61,14 +61,14 @@ values. Each of these values is defined as a constant with a name prefixed with
6161` ACC_ ` in JBMC, e.g., as ` #define ACC_PUBLIC 0x0001 ` or `#define ACC_ENUM
62620x4000`.
6363
64- \subsection Constant Pool
64+ \subsection java-class-constant-pool Constant Pool
6565
6666The constant pool contains all strings and referred values that are used in the
6767.class. This includes the names of the class itself and its super-class, as well
6868as the names and signatures of all fields and methods. All strings in the
6969constant pool are in UTF-16 format.
7070
71- \subsection Fields
71+ \subsection java-class-fields Fields
7272
7373Each member variable of a class has a field entry with a corresponding field
7474information structure. This contains the name of the field, its raw JVM type
@@ -80,7 +80,7 @@ the generic type of an object if applicable.
8080The name of the field, the descriptor and the signature are all represented as
8181indices into the constant pool of the class file.
8282
83- \subsection Methods
83+ \subsection java-class-methods ( Methods)
8484
8585Methods are represented in a similar way as fields. Each method has an
8686associated name, descriptor and optional signature entry in the constant pool
@@ -100,7 +100,7 @@ correct and creates code accordingly. The same holds true for information on
100100local variables. It is therefore advisable to compile Java projects with the
101101` -g ` option that adds debugging information in all cases.
102102
103- \subsection Attributes
103+ \subsection java-class-attributes ( Attributes)
104104
105105The last section contains additional attributes, e.g., ` SourceFile ` which
106106specified from which source file the .class was compiled, ` BootstrapMethods `
0 commit comments