Java Reference
In-Depth Information
Figure 4.5 illustrates how the sub-tree for the declaration is rewritten. The tree surgery in
Figure 4.5 proceeds as follows.
FIGURE 4.5 The rewriting of a field initialization.
1. The original sub-tree, produced by the parser for the static field declaration is shown
in (a). The tree for the initial value is stored in JVariableDeclarator 's initializer
field.
 
Search WWH ::




Custom Search