code: private int getType(final String tok) {
  		if (tok.startsWith("string")) {
  			return STRING_TYPE;
  		} else if (tok.startsWith("belong")) {
  			return BELONG_TYPE;
  		} else if (tok.equals("short")) {
  			return SHORT_TYPE;
  		} else if (tok.startsWith("lelong")) {
  			return LELONG_TYPE;
  		} else if (tok.startsWith("beshort")) {
  			return BESHORT_TYPE;
  		} else if (tok.startsWith("leshort")) {
  			return LESHORT_TYPE;
  		} else if (tok.equals("byte")) {
  			return BYTE_TYPE;
  		}
  
  		return UNKNOWN_TYPE;
  	}
docs: Gets the type.
  
  @param tok the tok
  @return the type