src/share/classes/com/sun/tools/javac/jvm/Gen.java

changeset 487
f65d652cb6af
parent 478
0eaf89e08564
child 507
dbcba45123cd
equal deleted inserted replaced
486:41ed86f86585 487:f65d652cb6af
2156 assert target.hasClassLiterals(); 2156 assert target.hasClassLiterals();
2157 setTypeAnnotationPositions(tree.pos); 2157 setTypeAnnotationPositions(tree.pos);
2158 code.emitop2(ldc2, makeRef(tree.pos(), tree.selected.type)); 2158 code.emitop2(ldc2, makeRef(tree.pos(), tree.selected.type));
2159 result = items.makeStackItem(pt); 2159 result = items.makeStackItem(pt);
2160 return; 2160 return;
2161 } else if (tree.name == names.TYPE) {
2162 // Set the annotation positions for primitive class literals
2163 // (e.g. int.class) which have been converted to TYPE field
2164 // access on the corresponding boxed type (e.g. Integer.TYPE).
2165 setTypeAnnotationPositions(tree.pos);
2161 } 2166 }
2162 2167
2163 Symbol ssym = TreeInfo.symbol(tree.selected); 2168 Symbol ssym = TreeInfo.symbol(tree.selected);
2164 2169
2165 // Are we selecting via super? 2170 // Are we selecting via super?

mercurial