final Type parType = _variable.getType(); String parName = _variable.getName().getLocalPart(); parName = parName.replace('.', '_'); parName = parName.replace('-', '_');
String name = _variable.getVariable();
    public void translate(ClassGenerator classGen, MethodGenerator methodGen) {	final ConstantPoolGen cpg = classGen.getConstantPool();	final InstructionList il = methodGen.getInstructionList();			final Type parType = _variable.getType();	String parName = _variable.getName().getLocalPart();	parName = parName.replace('.', '_');	parName = parName.replace('-', '_');	if (_variable.isLocal()) {	    if (classGen.isExternal()) {		il.append(classGen.loadTranslet());		il.append(new PUSH(cpg, parName));		final int index = cpg.addMethodref(TRANSLET_CLASS, 						   GET_PARAMETER,						   GET_PARAMETER_SIG);		il.append(new INVOKEVIRTUAL(index));	    }	    else {		il.append(_variable.loadInstruction());		_variable.removeReference(this);	    }	}	else {	    final String className = classGen.getClassName();	    il.append(classGen.loadTranslet());	    // If inside a predicate we must cast this ref down	    if (classGen.isExternal()) {		il.append(new CHECKCAST(cpg.addClass(className)));	    }	    il.append(new GETFIELD(cpg.addFieldref(className,						   parName,						   parType.toSignature())));	}    }