code: public void resolveType() {
          if (getTypeStyle() == null) {
              setTypeStyle("");
          }
          final String fieldType = getFieldType();
          String generics = "";
          if (fieldType.contains("<")) {
              generics = fieldType.substring(fieldType.indexOf('<'));
          }
          if (getTypeStyle().equals("smart")) {
              setType(fieldType);
          } else if (getTypeStyle().length() > 0) {
              if (getTypeStyle().contains("<>")) {
                  setType(getTypeStyle().replace("<>", generics));
              } else if (getTypeStyle().contains("<")) {
                  setType(getTypeStyle());
              } else {
                  setType(getTypeStyle() + generics);
              }
          } else {
              setType(fieldType);
          }
      }
docs: Resolves the field type.