code: protected static String toGoodTypeName(String typeName) {
      int lastDotPosition = typeName.lastIndexOf(".");
      if(lastDotPosition == -1) {
        return typeName;
      }
      else {
        return typeName.substring(lastDotPosition + 1);
      }
    }
docs: e.g. to convert java.lang.String[] to String[]
  @param typeName
  @return