code: private static ObjectToken findObjectToken(String objectTypeName)
      {
          if (objectTypeName != null) {
              for (ObjectToken ot : OBJECT_TOKENS) {
                  if (ot.token.equalsIgnoreCase(objectTypeName)) {
                      return ot;
                  }
              }
          }
          return null;
      }
docs: Find information about an object type token, if it's a known object type.
  @param objectTypeName  object type name to look up
  @return                object token information or null if it wasn't found