code: public void declearVar(Class<?> type,String varName,StringBuilder writesb,StringBuilder readsb,Type ...actTypes)
  	{
  		String varType=getVarTypeName(type, actTypes);
  		//变量声明
  		if(type.isPrimitive())
  		{
  			if(type.equals(boolean.class))
  			{
  				writesb.append("\t").append(varType+" "+varName+"=false;").append("\n");
  			}else
  			{
  				writesb.append("\t").append(varType+" "+varName+"=0;").append("\n");
  				readsb.append("\t").append(varType+" "+varName+"=0;").append("\n");
  			}
  		}else
  		{
  			writesb.append("\t").append(varType+" "+varName+"=null;").append("\n");
  			readsb.append("\t").append(varType+" "+varName+"=null;").append("\n");
  		}
  	}
docs: 变量声明
  @param type
  @param varName