code: public void assignDefault(String name) throws IOException
      {
          if (hasLocalVariable(name))
          {
              TypeMirror t = getLocalType(name);
              if (Typ.isPrimitive(t))
              {
                  tconst(t, 0);
              }
              else
              {
                  aconst_null();
              }
              tstore(name);
          }
          else
          {
              VariableElement field = El.getField(subClass, name);
              if (field == null)
              {
                  throw new IllegalArgumentException("field "+name+" not found");
              }
              aload(0);
              TypeMirror t = field.asType();
              if (Typ.isPrimitive(t))
              {
                  tconst(t, 0);
              }
              else
              {
                  aconst_null();
              }
              putField(name);
          }
      }
docs: assign default type for local variable depending on type. (false, 0, null)
  @param name
  @throws IOException