public void endVisit(JsniFieldRef x, Context ctx) {
if (isUninstantiable(x.getField())) {
String ident = x.getIdent();
JField nullField = program.getNullField();
program.jsniMap.put(ident, nullField);
JsniFieldRef nullFieldRef = new JsniFieldRef(program,
x.getSourceInfo(), ident, nullField, x.getEnclosingType(),
x.isLvalue());
ctx.replaceMe(nullFieldRef);
}
}