//if (reference != null)
// reference.removeEL(pagecontext);
Label removeEnd=new Label();
adapter.loadLocal(lRef);
adapter.ifNull(removeEnd);
adapter.loadLocal(lRef);
adapter.loadArg(0);
adapter.invokeInterface(Types.REFERENCE, REMOVE_EL);
adapter.pop();
adapter.visitLabel(removeEnd);