code: static String stripArrayBrackets( String name )
    {
      if( name == null )
      {
        return "";
      }
      int checkPos = name.length();
      while( checkPos > 2 && name.charAt( checkPos - 2 ) == '[' && name.charAt( checkPos - 1 ) == ']' )
      {
        checkPos -= 2;
      }
      assert checkPos <= name.length();
      
      return checkPos == name.length() ? name : name.substring( 0, checkPos );
    }
docs: \
  
  @param name The name
  
  @return The result of stripping all trailing occurrences of array brackets ("[]")
  from <code>name</code>. Examples:
  <pre>
  entity.Coverage => entity.Coverage
  entity.Coverage[] => entity.Coverage
  entity.Coverage[][][] => entity.Coverage
  </pre>