code: protected static List<String> getHeadIncludes(I_CmsFormatterBean formatter, String type) {
  
          if (TYPE_CSS.equals(type)) {
              return Lists.newArrayList(formatter.getCssHeadIncludes());
          } else if (TYPE_JAVASCRIPT.equals(type)) {
              return formatter.getJavascriptHeadIncludes();
          }
          return null;
      }
docs: Gets the head includes for the given formatter bean.<p>
  
  @param formatter the formatter bean
  @param type the head include type
  
  @return the list of head includes