String name = _name.getLocalPart(); name = name.replace('.', '_'); name = name.replace('-', '_'); _local = methodGen.addLocalVariable2(name,
_local = methodGen.addLocalVariable2(_name.getLocalPart(),
    public void initialize(ClassGenerator classGen, MethodGenerator methodGen) {	final ConstantPoolGen cpg = classGen.getConstantPool();	final InstructionList il = methodGen.getInstructionList();	// This is only done for local variables that are actually used	if (isLocal() && !_refs.isEmpty()) {	    // Create a variable slot if none is allocated	    if (_local == null) {		String name = _name.getLocalPart();		name = name.replace('.', '_');		name = name.replace('-', '_');		_local = methodGen.addLocalVariable2(name,						     _type.toJCType(),						     il.getEnd());	    }	    // Push the default value on the JVM's stack	    if ((_type instanceof IntType) ||		(_type instanceof NodeType) ||		(_type instanceof BooleanType))		il.append(new ICONST(0)); // 0 for node-id, integer and boolean	    else if (_type instanceof RealType)		il.append(new DCONST(0)); // 0.0 for floating point numbers	    else		il.append(new ACONST_NULL()); // and 'null' for anything else	    il.append(_type.STORE(_local.getIndex()));	}    }