Implementing Static Constant-Class folding