code: public String[] getEntityClass(Object obj, String name, Siren4JEntity entityAnno) {
          Class<?> clazz = obj.getClass();
          String[] compClass = entityAnno == null ? null : entityAnno.entityClass();
          //If entity class specified then use it.
          if (compClass != null && !ArrayUtils.isEmpty(compClass)) {
              return compClass;
          }
          //Else use name or class.
          List<String> entityClass = new ArrayList<String>();
          entityClass.add(StringUtils.defaultString(name, clazz.getName()));
          if (obj instanceof CollectionResource) {
              String tag = getCollectionClassTag();
              if (StringUtils.isNotBlank(tag)) {
                  entityClass.add(tag);
              }
          }
          return entityClass.toArray(new String[]{});
      }
docs: Determine entity class by first using the name set on the Siren entity and then if not found using the actual class
  name, though it is preferable to use the first option to not tie to a language specific class.
  
  @param obj
  @param name
  @return