code: public String[] getDeclaredSupertypeNames()
     {
        String[] result = new String[nodeTypeData.getDeclaredSupertypeNames().length];
        try
        {
           for (int i = 0; i < nodeTypeData.getDeclaredSupertypeNames().length; i++)
           {
              result[i] = locationFactory.createJCRName(nodeTypeData.getDeclaredSupertypeNames()[i]).getAsString();
           }
  
        }
        catch (RepositoryException e)
        {
           LOG.error(e.getLocalizedMessage(), e);
        }
        return result;
     }
docs: {@inheritDoc}